diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-08 17:22:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-08 17:22:49 +0100 |
commit | 1d2ffa266619f35977e7d429ae9eaf06d73c827e (patch) | |
tree | 830aa8cb04cc55b9554c1e3cb397b752e6b5747c /package/busybox/files | |
parent | c393e6d33d2f2959210c9b4c96fbffbbd40a0d97 (diff) |
check before calling ifdown if config exist
Diffstat (limited to 'package/busybox/files')
-rw-r--r-- | package/busybox/files/network.init | 1 |
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) |