![]() ![]() | ![]() |
Initial revision
1: #!/bin/sh 2: 3: syslogd_check() 4: { 5: ( 6: umask 022 7: if [ -f /etc/syslog.conf ]; then 8: /usr/sbin/syslogd -s -f /etc/syslog.conf -p /var/run/syslogd.sockets 9: else 10: echo "Syslog config file is unavaliable!" 11: echo "Please create /etc/syslog.conf." 12: echo "The syslogd did not start." 13: fi 14: ) 15: } 16: 17: echo "Starting Syslogd..." 18: 19: syslogd_check