kumquat-buildroot/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog

25 lines
355 B
Plaintext
Raw Normal View History

2007-07-29 09:17:01 +02:00
#!/bin/sh
SYSLOGD=/sbin/syslogd
echo -n "Starting syslogd:"
if [ ! -x "${SYSLOGD}" ]; then
echo " missing"
exit 1
fi
if ${SYSLOGD} > /dev/null 2> /dev/null; then
echo " done"
else
echo " failed"
exit 1
fi
echo -n "Log messages to syslog:"
if echo 4 4 1 7 > /proc/sys/kernel/printk 2> /dev/null; then
echo " done"
else
echo " failed"
exit 1
fi