summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-lsb.patch
blob: b091b3c8a1fb2ff26acf18ce6c3d41b8fdeb8313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff -ur wpa_supplicant-0.5.5.debian/debian/wpasupplicant.wpa-ifupdown.init wpa_supplicant-0.5.5/debian/wpasupplicant.wpa-ifupdown.init
--- wpa_supplicant-0.5.5.debian/debian/wpasupplicant.wpa-ifupdown.init	2006-10-20 22:10:27.000000000 +0200
+++ wpa_supplicant-0.5.5/debian/wpasupplicant.wpa-ifupdown.init	2006-10-20 22:12:00.000000000 +0200
@@ -22,20 +22,18 @@
 
 test -x /sbin/ifdown || exit 0
 
-. /lib/lsb/init-functions
-
 stop_wpa_action () {
 	test -x /sbin/wpa_action || return
 	unset IFACES
 	IFACES=$(find /var/run -maxdepth 1 -type f -name 'wpa_action.*.pid' -printf '%P\n' | cut -d'.' -f2)
 	if test -n "$IFACES"; then
-		log_daemon_msg "Stopping wpa_action roaming interfaces"
+		echo -n "Stopping wpa_action roaming interfaces:"
 		for iface in $IFACES; do
-			log_progress_msg "$iface"
+			echo -n " $iface"
 			# wpa_action executes /sbin/ifdown
 			wpa_action "$iface" stop >/dev/null 2>&1
 		done
-		log_end_msg 0
+		echo '.'
 	fi
 }
 
@@ -43,12 +41,12 @@
 	unset IFACES
 	IFACES=$(find /var/run -maxdepth 1 -type f -name 'wpa_supplicant.*.pid' -printf '%P\n' | cut -d'.' -f2)
 	if test -n "$IFACES"; then
-		log_daemon_msg "Stopping wpa_supplicant interfaces"
+		echo -n "Stopping wpa_supplicant interfaces:"
 		for iface in $IFACES; do
-			log_progress_msg "$iface"
+			echo -n " $iface"
 			ifdown $iface >/dev/null 2>&1
 		done
-		log_end_msg 0
+		echo '.'
 	fi
 }