diff options
author | John Crispin <john@openwrt.org> | 2014-06-02 12:42:44 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-02 12:42:44 +0000 |
commit | 44e2de03a4a96a01a732b33bf14c059da1924304 (patch) | |
tree | d1377638a127b826300f81307b835c14d0ead9e0 /package/base-files/files/etc | |
parent | 8f100f4f2e1ee0689f5ba70341283c0a87932370 (diff) | |
download | master-31e0f0ae-44e2de03a4a96a01a732b33bf14c059da1924304.tar.gz master-31e0f0ae-44e2de03a4a96a01a732b33bf14c059da1924304.tar.bz2 master-31e0f0ae-44e2de03a4a96a01a732b33bf14c059da1924304.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>
SVN-Revision: 40906
Diffstat (limited to 'package/base-files/files/etc')
-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() { |