Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 17:19:04 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r217201 - user/nwhitehorn/bsdinstall
Message-ID:  <201101091719.p09HJ4RT050451@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 	;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101091719.p09HJ4RT050451>