aboutsummaryrefslogtreecommitdiff
path: root/release/rc.local
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2013-12-21 16:43:40 +0000
committerDevin Teske <dteske@FreeBSD.org>2013-12-21 16:43:40 +0000
commita36511c287fac823ecf86908e16d3de9174f738f (patch)
tree600c5b83c3b9cacc507d73b89fb0c794be797b41 /release/rc.local
parentf83ed22cb62fd8e1b665924e673e01e586ee204f (diff)
downloadsrc-a36511c287fac823ecf86908e16d3de9174f738f.tar.gz
src-a36511c287fac823ecf86908e16d3de9174f738f.zip
Move the installer's keymap solution introduced by SVN r259468. The new
location of /etc/rc.local on the install media is more appropriate as it knows serial vs. non-serial and can also do the change earlier (so that even the initial Install dialog can benefit from the change). MFC after: 3 days
Notes
Notes: svn path=/head/; revision=259686
Diffstat (limited to 'release/rc.local')
-rwxr-xr-xrelease/rc.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/rc.local b/release/rc.local
index f0f297fed7ce..2c846c4e384d 100755
--- a/release/rc.local
+++ b/release/rc.local
@@ -19,6 +19,10 @@ if [ $? -eq 0 ]; then
TERM=xterm
fi
+ # Don't send ESC on function-key 62/63 (left/right command key)
+ kbdcontrol -f 62 '' > /dev/null 2>&1
+ kbdcontrol -f 63 '' > /dev/null 2>&1
+
if [ -z "$EXTERNAL_VTY_STARTED" ]; then
# Init will clean these processes up if/when the system
# goes multiuser