diff options
author | mtm <mtm@FreeBSD.org> | 2004-06-06 18:06:09 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2004-06-06 18:06:09 +0000 |
commit | eead69e718d0d157cfa225811cc0c07966cce730 (patch) | |
tree | ac5649a3504e4ed62c3b2c98d656ee60b1da9c8c /etc/rc | |
parent | 1b8e607cd5c23d1560c6b3a787fa00aef38ff45c (diff) | |
download | FreeBSD-src-eead69e718d0d157cfa225811cc0c07966cce730.zip FreeBSD-src-eead69e718d0d157cfa225811cc0c07966cce730.tar.gz |
Restore pre-rcNG behaviour:
SIGINT (Ctrl-c) kills the current script
SIGQUIT (Ctrl-\) kills /etc/rc (dropping you into single-user)
Prodded by: harti
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,10 +41,10 @@ stty status '^T' # Set shell to ignore SIGINT (2), but not children; -# shell catches SIGQUIT (3) and returns to single user after fsck. +# shell catches SIGQUIT (3) and returns to single user. # trap : 2 -trap : 3 # shouldn't be needed +trap "echo 'Boot interrupted'; exit 1" 3 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin |