summaryrefslogtreecommitdiff
path: root/package/busybox/files/network.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/files/network.init')
-rw-r--r--package/busybox/files/network.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/busybox/files/network.init b/package/busybox/files/network.init
index ee70efcbf..4989fcbcb 100644
--- a/package/busybox/files/network.init
+++ b/package/busybox/files/network.init
@@ -12,6 +12,7 @@ start)
ifup -a
;;
autostop|stop)
+ [ -f /etc/network/interfaces ] || exit 1
ifdown -a
;;
restart)