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
commit67481e68bec8d94fb23213c854e9971dff8b2bcd (patch)
treeea264ca0ed05abfa858520b499146473a4caf67d /package/base-files/files/etc/inittab
parentf83cd0c7cc25ffd557ecf9b9ec2c33b9d8c04468 (diff)
downloadupstream-67481e68bec8d94fb23213c854e9971dff8b2bcd.tar.gz
upstream-67481e68bec8d94fb23213c854e9971dff8b2bcd.tar.bz2
upstream-67481e68bec8d94fb23213c854e9971dff8b2bcd.zip
add K* scripts to be run at shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7163 3c298f89-4303-0410-b956-a3cf2f4a3e73
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