diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-13 08:01:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-13 08:01:21 +0000 |
commit | 5a351509aa3f12e18cea2ab312ff7466631c8488 (patch) | |
tree | 24f61be3ce5bc77af89c545a2d14b13cb80d9611 /package | |
parent | 2317e72d9983be83cc0bfa6a5cd6e74a4a4c9b2b (diff) | |
download | mtk-20170518-5a351509aa3f12e18cea2ab312ff7466631c8488.zip mtk-20170518-5a351509aa3f12e18cea2ab312ff7466631c8488.tar.gz mtk-20170518-5a351509aa3f12e18cea2ab312ff7466631c8488.tar.bz2 |
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
Diffstat (limited to 'package')
-rw-r--r-- | package/base-files/files/etc/inittab | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/rc.common | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/etc/inittab b/package/base-files/files/etc/inittab index 58be3bc..e9de30b 100644 --- a/package/base-files/files/etc/inittab +++ b/package/base-files/files/etc/inittab @@ -1,5 +1,5 @@ ::sysinit:/etc/init.d/rcS S boot -::shutdown:/etc/init.d/rcS K stop +::shutdown:/etc/init.d/rcS K shutdown tts/0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 072f143..6ec88ae 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() { |