aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/inittab
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-10 10:07:38 +0000
committerMike Baker <mbm@openwrt.org>2007-05-10 10:07:38 +0000
commit291420a8f3552a1b48af4fc7418e5ca15c9ece3d (patch)
tree9b7d8719ef6ba95938d03930681caa1e730f8b81 /package/base-files/files/etc/inittab
parent15e9bc4f266000ae86b912c3920690d0d3c70b73 (diff)
downloadupstream-291420a8f3552a1b48af4fc7418e5ca15c9ece3d.tar.gz
upstream-291420a8f3552a1b48af4fc7418e5ca15c9ece3d.tar.bz2
upstream-291420a8f3552a1b48af4fc7418e5ca15c9ece3d.zip
add K* scripts to be run at shutdown
SVN-Revision: 7163
Diffstat (limited to 'package/base-files/files/etc/inittab')
-rw-r--r--package/base-files/files/etc/inittab3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/etc/inittab b/package/base-files/files/etc/inittab
index 3d92717c9d..d7a053aba2 100644
--- a/package/base-files/files/etc/inittab
+++ b/package/base-files/files/etc/inittab
@@ -1,3 +1,4 @@
-::sysinit:/etc/init.d/rcS
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K stop
tts/0::askfirst:/bin/ash --login
ttyS0::askfirst:/bin/ash --login