'fixed remote hook to check on ttyS0 exactly to avoid c0 error messages'

This commit is contained in:
Tobias Powalowski 2007-11-23 08:47:13 +01:00
parent 4a402037ad
commit 5f497df2d9

View file

@ -9,5 +9,5 @@ run_hook ()
# fix daemons # fix daemons
sed -i -e 's|^DAEMONS=(@syslog-ng)|DAEMONS=(@syslog-ng @network @portmap @sshd @xinetd)|g' /etc/rc.conf sed -i -e 's|^DAEMONS=(@syslog-ng)|DAEMONS=(@syslog-ng @network @portmap @sshd @xinetd)|g' /etc/rc.conf
# fix serial console # fix serial console
dmesg | grep tty >/dev/null && sed -i -e 's/^#c0/c0/g' /etc/inittab dmesg | grep ttyS0 >/dev/null && sed -i -e 's/^#c0/c0/g' /etc/inittab
} }