diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-02 12:42:44 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-02 12:42:44 +0000 |
commit | cc728d09db52717eb1920c74c9736ea09a6f194a (patch) | |
tree | 7add3ea26063662024a19c167242155d7e4f89f2 /package/base-files/files | |
parent | 28d6ba06c2f2419177ceac8d87d258ffee5bb5c8 (diff) | |
download | upstream-cc728d09db52717eb1920c74c9736ea09a6f194a.tar.gz upstream-cc728d09db52717eb1920c74c9736ea09a6f194a.tar.bz2 upstream-cc728d09db52717eb1920c74c9736ea09a6f194a.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-x | package/base-files/files/etc/rc.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 829ec76bac..8701312e4c 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() { |