aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/rc.common
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-13 08:01:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-13 08:01:21 +0000
commit56a733289cec9c9838fe5a5c56e22e4bae8aa9b2 (patch)
tree400e03b1c7778eaafa92f35e86ef4a6cbf9d0d78 /package/base-files/files/etc/rc.common
parentf3845e39929d3b4a7956fc845d021a2110ab02d3 (diff)
downloadupstream-56a733289cec9c9838fe5a5c56e22e4bae8aa9b2.tar.gz
upstream-56a733289cec9c9838fe5a5c56e22e4bae8aa9b2.tar.bz2
upstream-56a733289cec9c9838fe5a5c56e22e4bae8aa9b2.zip
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/rc.common')
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
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 072f143549..6ec88aef9c 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -30,7 +30,7 @@ boot() {
}
shutdown() {
- return 0
+ stop
}
disable() {