diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-11 22:25:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-11 22:25:54 +0000 |
commit | b1ce7649756684cedd6f3db53ac3bc465c5fc519 (patch) | |
tree | b0e590676b5ace407c5b522ed7e58276b17aac09 /etc | |
parent | 0f20d7299af14c50b4ce912372b5fea5bda07a84 (diff) | |
download | pfsense-b1ce7649756684cedd6f3db53ac3bc465c5fc519.zip pfsense-b1ce7649756684cedd6f3db53ac3bc465c5fc519.tar.gz |
Fix the no job control errors.
Thanks to satu for doing the research on keyboard muxing.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/gettytab | 6 | ||||
-rwxr-xr-x | etc/rc | 29 | ||||
-rw-r--r-- | etc/ttys_wrap | 4 |
3 files changed, 12 insertions, 27 deletions
diff --git a/etc/gettytab b/etc/gettytab index 68a3dcb..2ef083c 100644 --- a/etc/gettytab +++ b/etc/gettytab @@ -36,7 +36,7 @@ # ep:op: same as ap. # default:\ - :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ + :al=root:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: # @@ -203,7 +203,7 @@ A|Auto-baud:\ # autologin|al.9600:\ - :tc=std.9600: + :al=root:tc=std.9600: # # Entries for 3-wire serial terminals. These don't supply carrier, so @@ -218,4 +218,4 @@ autologin|al.9600:\ 3wire.115200|115200-3wire:\ :np:nc:sp#115200: 3wire.230400|230400-3wire:\ - :np:nc:sp#230400: + :np:nc:sp#230400:
\ No newline at end of file @@ -171,10 +171,13 @@ if [ -f /etc/rc.conf ]; then rm -rf /etc/rc.conf fi -echo -n "Starting USB... " -/usr/sbin/usbd 2>>/tmp/bootup_messages -/usr/local/sbin/kbdcheck -echo "done." +# Launching kbdmux(4) +if [ -f "/dev/kbdmux0" ]; then + echo "Starting Keyboard Mux Services..." + kbdcontrol -k /dev/kbdmux0 < /dev/console + [ -c "/dev/atkbd0" ] && kbdcontrol -a atkbd0 < /dev/console + [ -c "/dev/ukbd0" ] && kbdcontrol -a ukbd0 < /dev/console +fi # let the PHP-based configuration subsystem set up the system now /etc/rc.bootup @@ -205,24 +208,6 @@ rm -rf /usr/local/pkg/pf/CVS echo "Bootup complete" -if [ -e /dev/ttyv1 ]; then - if [ ! -e /var/etc/console_lockdown ]; then - # Allow VTY switching - /usr/sbin/vidcontrol -S on 2>/dev/null - # Turn off bloody mouse pointer. - /usr/sbin/vidcontrol -m off 2>/dev/null - env TERM=cons25 sh -c /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 & - sleep 1 - /usr/sbin/vidcontrol -s 2 2>/dev/null - fi -else - while [ 1 ]; - do - env TERM=cons25 sh -c "/etc/rc.initial" - done - exit -fi - /usr/local/bin/beep.sh start exit 0 diff --git a/etc/ttys_wrap b/etc/ttys_wrap index 79e1cf8..45c3956 100644 --- a/etc/ttys_wrap +++ b/etc/ttys_wrap @@ -30,6 +30,6 @@ # # If console is marked "insecure", then init will ask for the root password # when going to single-user mode. -#console "/usr/libexec/getty Pc" cons25 on secure +console "/usr/libexec/getty Pc" cons25 on secure # -ttyv0 "/usr/libexec/getty Pc" cons25 off secure +#ttyv0 "/usr/libexec/getty Pc" cons25 on secure |