diff options
author | Rene Wagner <rw@handhelds.org> | 2006-10-20 23:43:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-10-20 23:43:03 +0200 |
commit | 2292218c54dea3d751925949e8efb1c67d576e87 (patch) | |
tree | b6048d619705ab55dc272a8f7994ff689b18e89a /org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-quiet.patch | |
parent | be97c28b8d7f2cdb9410cdaee48151463d1d220c (diff) |
wpasupplicant: add fully featured version based on 0.5.5-2 from Debian.
Signed-off-by: Rene Wagner <rw@handhelds.org>
Diffstat (limited to 'org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-quiet.patch')
-rw-r--r-- | org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-quiet.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-quiet.patch b/org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-quiet.patch new file mode 100644 index 0000000..6258f41 --- /dev/null +++ b/org.handhelds.familiar/packages/wpa-supplicant/wpasupplicant-0.5.5/scripts-no-quiet.patch @@ -0,0 +1,19 @@ +diff -ur wpa_supplicant-0.5.5.debian/debian/ifupdown.sh wpa_supplicant-0.5.5/debian/ifupdown.sh +--- wpa_supplicant-0.5.5.debian/debian/ifupdown.sh 2006-10-20 21:22:56.000000000 +0200 ++++ wpa_supplicant-0.5.5/debian/ifupdown.sh 2006-10-20 21:23:35.000000000 +0200 +@@ -62,13 +62,13 @@ + + # master function; determines if ifupdown.sh should do something or not + if [ -s "$IF_WPA_CONF" ]; then +- WPA_SUP_CONF_CTRL_DIR=$(sed --quiet \ ++ WPA_SUP_CONF_CTRL_DIR=$(sed \ + 's/[[:space:]]*#.*//g;s/[[:space:]]\+.*$//g;s/^\(ctrl_interface\|DIR\)=\(.*\)/\2/p' "$IF_WPA_CONF") + if [ -n "$WPA_SUP_CONF_CTRL_DIR" ]; then + WPA_CTRL_DIR="$WPA_SUP_CONF_CTRL_DIR" + fi + WPA_SUP_CONF="-c $IF_WPA_CONF -C $WPA_CTRL_DIR" +-elif set | grep --quiet "^IF_WPA"; then ++elif set | grep -q "^IF_WPA"; then + WPA_SUP_CONF="-C $WPA_CTRL_DIR" + else + exit 0 |