mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
Changes for serial console support
This commit is contained in:
@@ -25,5 +25,7 @@ su:S016:once:/sbin/sulogin
|
||||
4:2345:respawn:/sbin/agetty tty4 9600
|
||||
5:2345:respawn:/sbin/agetty tty5 9600
|
||||
6:2345:respawn:/sbin/agetty tty6 9600
|
||||
# *** Uncomment for serial console
|
||||
#7:2345:respawn:/sbin/agetty ttyS0 38400
|
||||
|
||||
# End /etc/inittab
|
||||
|
||||
@@ -3,7 +3,12 @@ default saved
|
||||
foreground = 6d6963
|
||||
background = ffffff
|
||||
#hiddenmenu
|
||||
# *** If you want use serial console comment next line
|
||||
splashimage (hd0,0)/grub/ipfire.xpm.gz
|
||||
# *** add "console=ttyS0,38400n8" to kernel cmdline,
|
||||
# *** uncomment following lines and check also inittab
|
||||
#serial --unit=0 --speed=38400
|
||||
#terminal --timeout=1 serial console
|
||||
title IPFire
|
||||
root (hd0,0)
|
||||
kernel /vmlinuz-KVER-ipfire root=ROOT rootdelay=10 panic=10 MOUNT
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
bin/probenic.sh
|
||||
etc/ntp
|
||||
etc/rc.d/init.d/beep
|
||||
etc/rc.d/init.d/console
|
||||
etc/rc.d/init.d/snort
|
||||
etc/rc.d/init.d/networking/red
|
||||
etc/ssh/moduli
|
||||
|
||||
@@ -19,7 +19,7 @@ LENGTH=40
|
||||
|
||||
play () {
|
||||
|
||||
beep -l $LENGTH -f $1
|
||||
beep -l $LENGTH -f $1 2> /dev/null
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ case "${1}" in
|
||||
grep -o '\btty[[:digit:]]*\b'`
|
||||
do
|
||||
openvt -f -w -c ${TTY#tty} -- \
|
||||
/bin/sh -c "${MODE_COMMAND}"
|
||||
/bin/sh -c "${MODE_COMMAND}" 2>/dev/null
|
||||
done
|
||||
|
||||
# Set the font (if not already set above) and the keymap
|
||||
|
||||
Reference in New Issue
Block a user