svn commit: r217201 - user/nwhitehorn/bsdinstall

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Jan 9 17:19:05 UTC 2011


Author: nwhitehorn
Date: Sun Jan  9 17:19:04 2011
New Revision: 217201
URL: http://svn.freebsd.org/changeset/base/217201

Log:
  Some more SIGINT handling. Ideally, bsdinstall auto would learn which steps
  are skippable and allow cntrl-C to skip them, but that will have to wait
  until later.

Modified:
  user/nwhitehorn/bsdinstall/rc.local

Modified: user/nwhitehorn/bsdinstall/rc.local
==============================================================================
--- user/nwhitehorn/bsdinstall/rc.local	Sun Jan  9 17:10:06 2011	(r217200)
+++ user/nwhitehorn/bsdinstall/rc.local	Sun Jan  9 17:19:04 2011	(r217201)
@@ -14,6 +14,7 @@ cdialog --backtitle "FreeBSD Installer" 
 case $? in
 $DIALOG_OK)	# Installer
 	BSDINSTALL_CONFIGCURRENT=yes; export BSDINSTALL_CONFIGCURRENT
+	trap "" SIGINT	# Ignore cntrl-C here
 	bsdinstall
 	reboot
 	;;


More information about the svn-src-user mailing list