blob: 64e5952e959b15225e576b2e549336fa55c7fa64 (
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
|
Index: lib/rcscripts/net.modules.d/dhcpcd
===================================================================
--- lib/rcscripts/net.modules.d/dhcpcd (revision 1419)
+++ lib/rcscripts/net.modules.d/dhcpcd (working copy)
@@ -32,7 +32,7 @@
if dhcpcd -h 2>&1 | grep -q "etcDir" ; then
return 0
else
- ${1:-false} && eerror "We require dhcpcd-1.3.22_p4-r10"
+ ${1:-false} && eerror "We require dhcpcd-1.3.22_p4-r12 or newer"
return 1
fi
fi
Index: lib/rcscripts/net.modules.d/wpa_supplicant
===================================================================
--- lib/rcscripts/net.modules.d/wpa_supplicant (revision 1419)
+++ lib/rcscripts/net.modules.d/wpa_supplicant (working copy)
@@ -64,7 +64,7 @@
#
# Checks to see if wireless extensions are enabled on the interface
wpa_supplicant_check_extensions() {
- grep -q "$1: " /proc/net/wireless
+ grep -q "^[ ]*$1: " /proc/net/wireless
}
# char* wpa_supplicant_get_essid(char *interface)
Index: lib/rcscripts/net.modules.d/iwconfig
===================================================================
--- lib/rcscripts/net.modules.d/iwconfig (revision 1419)
+++ lib/rcscripts/net.modules.d/iwconfig (working copy)
@@ -63,7 +63,7 @@
#
# Checks to see if wireless extensions are enabled on the interface
iwconfig_check_extensions() {
- grep -q "$1: " /proc/net/wireless
+ grep -q "^[ ]*$1: " /proc/net/wireless
}
# char* iwconfig_get_wep_status(char *interface)
|