kumquat-buildroot/target/device/valka/target_skeleton/etc/rc.d/04.syslog

25 lines
322 B
Plaintext
Raw Normal View History

2008-03-06 19:59:14 +01:00
#!/bin/ash
. /etc/rc.subr
start() {
echo -n " * Starting syslogd: "
if [ ! -x ${syslogd_program} ]; then
log_error "Missing 'syslogd' program (${syslogd_program})"
echo "Failed"
return 1
fi
if ${syslogd_program}; then
echo "Ok"
else
echo "Failed"
exit 1
fi
}
stop() {
return 0
}
rc_run_command "$1"