mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:04:05 +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:
parent
b419f641ee
commit
574f469e14
@ -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
|
||||||
|
@ -30,7 +30,7 @@ boot() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shutdown() {
|
shutdown() {
|
||||||
return 0
|
stop
|
||||||
}
|
}
|
||||||
|
|
||||||
disable() {
|
disable() {
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user