diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-13 08:01:21 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-13 08:01:21 +0000 |
commit | 574f469e143456a4ea1f9f2087d9b7fee72fea8d (patch) | |
tree | 400e03b1c7778eaafa92f35e86ef4a6cbf9d0d78 | |
parent | b419f641ee56ba14968a544a8d5a65a59a8cba3d (diff) |
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
-rw-r--r-- | package/base-files/files/etc/inittab | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/rc.common | 2 | ||||
-rw-r--r-- | target/linux/ep93xx/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/ifxmips/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/mpc52xx/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/mpc83xx/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/omap24xx/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/omap35xx/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/ppc44x/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/realview/base-files/etc/inittab | 2 |
11 files changed, 11 insertions, 11 deletions
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() { diff --git a/target/linux/ep93xx/base-files/etc/inittab b/target/linux/ep93xx/base-files/etc/inittab index ea83e79cc..9f7c0aee3 100644 --- a/target/linux/ep93xx/base-files/etc/inittab +++ b/target/linux/ep93xx/base-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 ttyAM0::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login diff --git a/target/linux/ifxmips/base-files/etc/inittab b/target/linux/ifxmips/base-files/etc/inittab index 7989a7f60..67c36a6a9 100644 --- a/target/linux/ifxmips/base-files/etc/inittab +++ b/target/linux/ifxmips/base-files/etc/inittab @@ -1,4 +1,4 @@ ::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 ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/mpc52xx/base-files/etc/inittab b/target/linux/mpc52xx/base-files/etc/inittab index 68b433150..77dd6cafc 100644 --- a/target/linux/mpc52xx/base-files/etc/inittab +++ b/target/linux/mpc52xx/base-files/etc/inittab @@ -1,3 +1,3 @@ ::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 diff --git a/target/linux/mpc83xx/base-files/etc/inittab b/target/linux/mpc83xx/base-files/etc/inittab index 7989a7f60..67c36a6a9 100644 --- a/target/linux/mpc83xx/base-files/etc/inittab +++ b/target/linux/mpc83xx/base-files/etc/inittab @@ -1,4 +1,4 @@ ::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 ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/omap24xx/base-files/etc/inittab b/target/linux/omap24xx/base-files/etc/inittab index e39d2f158..f55b7cd74 100644 --- a/target/linux/omap24xx/base-files/etc/inittab +++ b/target/linux/omap24xx/base-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 ttyS2::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login diff --git a/target/linux/omap35xx/base-files/etc/inittab b/target/linux/omap35xx/base-files/etc/inittab index 89626ecda..88567b245 100644 --- a/target/linux/omap35xx/base-files/etc/inittab +++ b/target/linux/omap35xx/base-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 ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/ppc44x/base-files/etc/inittab b/target/linux/ppc44x/base-files/etc/inittab index 7989a7f60..67c36a6a9 100644 --- a/target/linux/ppc44x/base-files/etc/inittab +++ b/target/linux/ppc44x/base-files/etc/inittab @@ -1,4 +1,4 @@ ::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 ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/ramips/base-files/etc/inittab b/target/linux/ramips/base-files/etc/inittab index 7989a7f60..67c36a6a9 100644 --- a/target/linux/ramips/base-files/etc/inittab +++ b/target/linux/ramips/base-files/etc/inittab @@ -1,4 +1,4 @@ ::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 ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/realview/base-files/etc/inittab b/target/linux/realview/base-files/etc/inittab index 3674d9880..d9d571e8d 100644 --- a/target/linux/realview/base-files/etc/inittab +++ b/target/linux/realview/base-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 ttyAMA0::askfirst:/bin/ash --login tty1::askfirst:/bin/ash --login |