rc: sync the preamble code with FreeBSD

This commit is contained in:
Franco Fichtner 2014-12-10 16:30:49 +01:00
parent 0b3e9df01f
commit ca4f01e71d

View File

@ -6,11 +6,13 @@
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# All rights reserved.
#/bin/stty status '^T'
#/bin/stty susp '^-' intr '^-' quit '^-'
stty status '^T' 2> /dev/null
#trap : 2
#trap : 3
# Set shell to ignore SIGINT (2), but not children;
# shell catches SIGQUIT (3) and returns to single user.
#
trap : 2
trap "echo 'Boot interrupted'; exit 1" 3
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin