summaryrefslogtreecommitdiff
path: root/packages/wpa-supplicant/files/ifupdown.sh
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-12-26 17:38:57 -0600
committerMike Westerhof <mwester@dls.net>2008-12-26 17:38:57 -0600
commit4e038ba7d25f8e8170ceaee40e53289434fe4f59 (patch)
tree1e0ece2761acc44f0ec9f18ca7504f5caccda50e /packages/wpa-supplicant/files/ifupdown.sh
parent3341d3a5d5db30831d1ca24117da511dfb6dab3b (diff)
wpa-supplicant: minor edits to helper scripts for busybox compatibility.
(replace long-form "--quiet" with short-form equivalent, and bump PR)
Diffstat (limited to 'packages/wpa-supplicant/files/ifupdown.sh')
-rwxr-xr-xpackages/wpa-supplicant/files/ifupdown.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/wpa-supplicant/files/ifupdown.sh b/packages/wpa-supplicant/files/ifupdown.sh
index 71486f7648..4a292ac948 100755
--- a/packages/wpa-supplicant/files/ifupdown.sh
+++ b/packages/wpa-supplicant/files/ifupdown.sh
@@ -78,7 +78,7 @@ if [ -n "$IF_WPA_CONF" ]; then
wpa_msg stderr "cannot read contents of $IF_WPA_CONF"
exit 1
fi
- WPA_SUP_CONF_CTRL_DIR=$(sed --quiet \
+ WPA_SUP_CONF_CTRL_DIR=$(sed -n \
'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"