summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/network.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.d/network.in b/init.d/network.in
index 5a87a84..17237d3 100644
--- a/init.d/network.in
+++ b/init.d/network.in
@@ -46,7 +46,11 @@ sys_interfaces()
local w= rest= i= cmd=$1
while read w rest; do
i=${w%%:*}
- [ "$i" != "$w" ] || continue
+ case "$i" in
+ "$w") continue ;;
+ lo|lo0) continue ;;
+ *) ;;
+ esac
if [ "$cmd" = u ]; then
ifconfig "$i" | grep -q "[ ]*UP" || continue
fi