summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-08 17:22:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-08 17:22:49 +0100
commit1d2ffa266619f35977e7d429ae9eaf06d73c827e (patch)
tree830aa8cb04cc55b9554c1e3cb397b752e6b5747c /package
parentc393e6d33d2f2959210c9b4c96fbffbbd40a0d97 (diff)
check before calling ifdown if config exist
Diffstat (limited to 'package')
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/busybox/files/network.init1
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)