summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)