From eead69e718d0d157cfa225811cc0c07966cce730 Mon Sep 17 00:00:00 2001 From: mtm Date: Sun, 6 Jun 2004 18:06:09 +0000 Subject: Restore pre-rcNG behaviour: SIGINT (Ctrl-c) kills the current script SIGQUIT (Ctrl-\) kills /etc/rc (dropping you into single-user) Prodded by: harti --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 748f669..508d0b0 100644 --- a/etc/rc +++ b/etc/rc @@ -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 -- cgit v1.1