diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-08 18:46:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-08 18:46:43 +0000 |
commit | 28fccd7f6edd0c4d9ff965847e82ee21d93db545 (patch) | |
tree | cdab383c3dfdb955aeef421364d0b66ad4e54663 | |
parent | 0df15e32bfbf8c6bb71fbecd7691acbf8f615ff5 (diff) | |
download | pfsense-28fccd7f6edd0c4d9ff965847e82ee21d93db545.zip pfsense-28fccd7f6edd0c4d9ff965847e82ee21d93db545.tar.gz |
* Run the menu in the background
* switch to vty2
* turn off the ability to switch vty's locking the user into vty2 which appears as nothing ever happend
Sneaky.
-rwxr-xr-x | etc/rc | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -210,6 +210,11 @@ rm -rf /usr/local/pkg/pf/CVS echo "Bootup complete" if [ -e /dev/ukbd0 ]; then + /usr/bin/clear + # Allow VTY switching + /usr/sbin/vidcontrol -S on + # Turn off bloody mouse pointer. + /usr/sbin/vidcontrol -m off echo echo "Working around a USB Keyboard bug in FreeBSD" echo @@ -217,9 +222,11 @@ if [ -e /dev/ukbd0 ]; then echo echo "Press ALT + F2 to switch to the pfSense menu." echo - /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 + /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 & sleep 1 - /usr/sbin/vidcontrol -s 1 + /usr/sbin/vidcontrol -s 2 + # Lock em into the menu + /usr/sbin/vidcontrol -S off fi exit 0 |