Deleted Added
full compact
rc.local (260680) rc.local (272309)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: stable/10/release/rc.local 260680 2014-01-15 08:10:41Z dteske $
2# $FreeBSD: stable/10/release/rc.local 272309 2014-09-30 16:36:50Z emaste $
3
4: ${DIALOG_OK=0}
5: ${DIALOG_CANCEL=1}
6: ${DIALOG_HELP=2}
7: ${DIALOG_EXTRA=3}
8: ${DIALOG_ITEM_HELP=4}
9: ${DIALOG_ESC=255}
10
11MACHINE=`uname -m`
12
3
4: ${DIALOG_OK=0}
5: ${DIALOG_CANCEL=1}
6: ${DIALOG_HELP=2}
7: ${DIALOG_EXTRA=3}
8: ${DIALOG_ITEM_HELP=4}
9: ${DIALOG_ESC=255}
10
11MACHINE=`uname -m`
12
13# resolv.conf from DHCP ends up in here, so make sure the directory exists
14mkdir /tmp/bsdinstall_etc
15
13kbdcontrol -d >/dev/null 2>&1
14if [ $? -eq 0 ]; then
15 # Syscons: use xterm, start interesting things on other VTYs
16 if [ ${MACHINE} = "pc98" ]; then
17 TERM=cons25w
18 else
19 TERM=xterm
20 fi

--- 70 unchanged lines hidden ---
16kbdcontrol -d >/dev/null 2>&1
17if [ $? -eq 0 ]; then
18 # Syscons: use xterm, start interesting things on other VTYs
19 if [ ${MACHINE} = "pc98" ]; then
20 TERM=cons25w
21 else
22 TERM=xterm
23 fi

--- 70 unchanged lines hidden ---