1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:58:35 +02:00

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
This commit is contained in:
nbd 2010-12-13 08:01:21 +00:00
parent b419f641ee
commit 574f469e14
11 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
::sysinit:/etc/init.d/rcS S boot ::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 tts/0::askfirst:/bin/ash --login
ttyS0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login

View File

@ -30,7 +30,7 @@ boot() {
} }
shutdown() { shutdown() {
return 0 stop
} }
disable() { disable() {

View File

@ -1,5 +1,5 @@
::sysinit:/etc/init.d/rcS S boot ::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 tts/0::askfirst:/bin/ash --login
ttyAM0::askfirst:/bin/ash --login ttyAM0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login

View File

@ -1,4 +1,4 @@
::sysinit:/etc/init.d/rcS S boot ::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop ::shutdown:/etc/init.d/rcS K shutdown
ttyS0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login
ttyS1::askfirst:/bin/ash --login ttyS1::askfirst:/bin/ash --login

View File

@ -1,3 +1,3 @@
::sysinit:/etc/init.d/rcS S boot ::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop ::shutdown:/etc/init.d/rcS K shutdown
ttyPSC0::askfirst:/bin/ash --login ttyPSC0::askfirst:/bin/ash --login

View File

@ -1,4 +1,4 @@
::sysinit:/etc/init.d/rcS S boot ::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop ::shutdown:/etc/init.d/rcS K shutdown
ttyS0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login
ttyS1::askfirst:/bin/ash --login ttyS1::askfirst:/bin/ash --login

View File

@ -1,5 +1,5 @@
::sysinit:/etc/init.d/rcS S boot ::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 tts/0::askfirst:/bin/ash --login
ttyS2::askfirst:/bin/ash --login ttyS2::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login

View File

@ -1,5 +1,5 @@
::sysinit:/etc/init.d/rcS S boot ::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 tts/0::askfirst:/bin/ash --login
ttyS0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login
ttyS1::askfirst:/bin/ash --login ttyS1::askfirst:/bin/ash --login

View File

@ -1,4 +1,4 @@
::sysinit:/etc/init.d/rcS S boot ::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop ::shutdown:/etc/init.d/rcS K shutdown
ttyS0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login
ttyS1::askfirst:/bin/ash --login ttyS1::askfirst:/bin/ash --login

View File

@ -1,4 +1,4 @@
::sysinit:/etc/init.d/rcS S boot ::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop ::shutdown:/etc/init.d/rcS K shutdown
ttyS0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login
ttyS1::askfirst:/bin/ash --login ttyS1::askfirst:/bin/ash --login

View File

@ -1,5 +1,5 @@
::sysinit:/etc/init.d/rcS S boot ::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 tts/0::askfirst:/bin/ash --login
ttyAMA0::askfirst:/bin/ash --login ttyAMA0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login