home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
etc
/
syslogd
< prev
next >
Wrap
Text File
|
2006-11-29
|
359b
|
18 lines
#! /bin/sh
# Check if /dev/tty4 is available (might not be the case for installs via
# serial line).
rm -f /etc/syslog.conf
if ( test -c /dev/tty4 && > /dev/tty4 ) > /dev/null 2>&1 ; then
cat <<-blub >>/etc/syslog.conf
*.* /dev/tty4
blub
else
cat <<-blub >>/etc/syslog.conf
*.* /dev/null
blub
fi
exec -a /sbin/syslogd /sbin/syslogd.bin ${1+"$@"}