From cc728d09db52717eb1920c74c9736ea09a6f194a Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 2 Jun 2014 12:42:44 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40906 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/rc.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/etc/rc.common') 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() { -- cgit v1.2.3