Annotation of elwix/config/etc/uboot/rc.d/029.syslogd.run, revision 1.2
1.2 ! misho 1: #!/bin/sh
! 2:
! 3: syslogd_check()
! 4: {
! 5: (
! 6: umask 022
! 7: if [ -f /etc/syslog.conf ]; then
! 8: syslogd -s -f /etc/syslog.conf -p /var/run/syslogd.sockets \
! 9: -l /var/run/log
! 10: else
! 11: echo "Syslog config file is unavaliable!"
! 12: echo "Please create /etc/syslog.conf."
! 13: echo "The syslogd did not start."
! 14: fi
! 15: )
! 16: }
! 17:
! 18: echo "Starting Syslogd..."
! 19:
! 20: syslogd_check
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>