summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 12:42:44 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 12:42:44 +0000
commit44e2de03a4a96a01a732b33bf14c059da1924304 (patch)
treed1377638a127b826300f81307b835c14d0ead9e0 /package
parent8f100f4f2e1ee0689f5ba70341283c0a87932370 (diff)
downloadmtk-20170518-44e2de03a4a96a01a732b33bf14c059da1924304.zip
mtk-20170518-44e2de03a4a96a01a732b33bf14c059da1924304.tar.gz
mtk-20170518-44e2de03a4a96a01a732b33bf14c059da1924304.tar.bz2
base-files: calling stop_service before procd_kill.
Before this patch, doing `/e/c/network restart' will emit the folloing error by `ubus network.wireless down "{}"' because netifd already quit by that time. Command failed: not found Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40906
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 207af35..eea9ecb 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
-PKG_RELEASE:=152
+PKG_RELEASE:=153
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index 829ec76..8701312 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -112,8 +112,8 @@ ${INIT_TRACE:+set -x}
}
stop() {
- procd_kill "$(basename ${basescript:-$initscript})" "$1"
stop_service "$@"
+ procd_kill "$(basename ${basescript:-$initscript})" "$1"
}
reload() {