summaryrefslogtreecommitdiffstats
path: root/src-wireless/net-auto
diff options
context:
space:
mode:
Diffstat (limited to 'src-wireless/net-auto')
-rw-r--r--src-wireless/net-auto4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-wireless/net-auto b/src-wireless/net-auto
index ca52b3e..5f972c3 100644
--- a/src-wireless/net-auto
+++ b/src-wireless/net-auto
@@ -35,9 +35,9 @@ case "$1" in
exit_stderr "net-auto not running"
fi
- for iface in $(cat "$STATE_DIR/net-auto"); do
+ while read iface; do
/usr/bin/netcfg2 iface-down "$iface"
- done
+ done < "$STATE_DIR/net-auto"
rm -f "$STATE_DIR/net-auto"
rm_daemon net-auto
;;