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 | |
parent | c393e6d33d2f2959210c9b4c96fbffbbd40a0d97 (diff) |
check before calling ifdown if config exist
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/Makefile | 2 | ||||
-rw-r--r-- | package/busybox/files/network.init | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 8d6ff4f9f..47bb590fb 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= busybox PKG_VERSION:= 1.17.2 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 7360b7138b899ee7fc885791c740c3c3 PKG_DESCR:= Core utilities for embedded systems PKG_SECTION:= base 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) |