summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-27 18:48:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-27 18:48:57 +0000
commitc622a371013a6ab059de313768664ab948fe8c63 (patch)
tree71edd16ee45a1310fe588dc26508a7c38d2b7355
parente795250a1e2a77f3d0bfceeb56a5e07ed99b60ea (diff)
downloadmtk-20170518-c622a371013a6ab059de313768664ab948fe8c63.zip
mtk-20170518-c622a371013a6ab059de313768664ab948fe8c63.tar.gz
mtk-20170518-c622a371013a6ab059de313768664ab948fe8c63.tar.bz2
base-files: remove duplicate stop_service() function.
It was introduced in commit 2f966e8, "base-files: add a post start hook for procd managed services". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40576
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/files/etc/rc.common4
2 files changed, 1 insertions, 5 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index d0366ee..207af35 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:=151
+PKG_RELEASE:=152
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 1984db9..829ec76 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -92,10 +92,6 @@ service_running() {
return 0
}
-stop_service() {
- return 0
-}
-
${INIT_TRACE:+set -x}
. "$initscript"