Skip to content
Snippets Groups Projects
Commit 11396087 authored by Mike Baker's avatar Mike Baker
Browse files

allow ctrl-c to trigger preinit

SVN-Revision: 12231
parent e848e765
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,8 @@ dd if=/dev/console of=/dev/null bs=1 count=0 >/dev/null 2>/dev/null && { ...@@ -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 exec <$M0 >$M1 2>&0
echo "- preinit -" echo "- preinit -"
echo "Press CTRL-C for failsafe"
trap 'FAILSAFE=true' INT
trap 'FAILSAFE=true' USR1 trap 'FAILSAFE=true' USR1
[ -e /etc/preinit.arch ] && . /etc/preinit.arch [ -e /etc/preinit.arch ] && . /etc/preinit.arch
set_state preinit set_state preinit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment