From 574f469e143456a4ea1f9f2087d9b7fee72fea8d Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 13 Dec 2010 08:01:21 +0000 Subject: 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 --- package/base-files/files/etc/inittab | 2 +- package/base-files/files/etc/rc.common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/base-files') diff --git a/package/base-files/files/etc/inittab b/package/base-files/files/etc/inittab index 58be3bc61..e9de30bcc 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 072f14354..6ec88aef9 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() { -- cgit v1.2.3