projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e848e76
)
allow ctrl-c to trigger preinit
author
Mike Baker
<mbm@openwrt.org>
Thu, 7 Aug 2008 07:17:03 +0000
(07:17 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Thu, 7 Aug 2008 07:17:03 +0000
(07:17 +0000)
SVN-Revision: 12231
package/base-files/files/etc/preinit
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/preinit
b/package/base-files/files/etc/preinit
index 24c2b6d282800c2090bc3b3a5e7b9cd457091c88..8c30fd8da16432eb8e20f65b6638e7ac0783198a 100755
(executable)
--- a/
package/base-files/files/etc/preinit
+++ b/
package/base-files/files/etc/preinit
@@
-62,6
+62,8
@@
dd if=/dev/console of=/dev/null bs=1 count=0 >/dev/null 2>/dev/null && {
exec <$M0 >$M1 2>&0
echo "- preinit -"
+echo "Press CTRL-C for failsafe"
+trap 'FAILSAFE=true' INT
trap 'FAILSAFE=true' USR1
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
set_state preinit