[Midnightbsd-cvs] src [11837] trunk/release/rc.local: update script
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Jul 12 20:31:14 EDT 2018
Revision: 11837
http://svnweb.midnightbsd.org/src/?rev=11837
Author: laffer1
Date: 2018-07-12 20:31:14 -0400 (Thu, 12 Jul 2018)
Log Message:
-----------
update script
Modified Paths:
--------------
trunk/release/rc.local
Property Changed:
----------------
trunk/release/rc.local
Modified: trunk/release/rc.local
===================================================================
--- trunk/release/rc.local 2018-07-13 00:29:53 UTC (rev 11836)
+++ trunk/release/rc.local 2018-07-13 00:31:14 UTC (rev 11837)
@@ -1,5 +1,4 @@
#!/bin/sh
-# $FreeBSD: src/release/rc.local,v 1.3 2011/09/17 09:25:45 nwhitehorn Exp $
# $MidnightBSD$
: ${DIALOG_OK=0}
@@ -11,6 +10,9 @@
MACHINE=`uname -m`
+# resolv.conf from DHCP ends up in here, so make sure the directory exists
+mkdir /tmp/bsdinstall_etc
+
kbdcontrol -d >/dev/null 2>&1
if [ $? -eq 0 ]; then
# Syscons: use xterm, start interesting things on other VTYs
@@ -20,6 +22,10 @@
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
Property changes on: trunk/release/rc.local
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list