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

17 lines
176 B
Plaintext
Raw Normal View History

2007-07-29 09:17:01 +02:00
#!/bin/sh
KLOGD=/sbin/klogd
2007-08-17 15:01:49 +02:00
echo -n "Starting klogd: "
2007-07-29 09:17:01 +02:00
if [ ! -x "${KLOGD}" ]; then
2007-08-17 15:01:49 +02:00
echo "missing"
2007-07-29 09:17:01 +02:00
exit 1
fi
2007-08-17 15:01:49 +02:00
if ${KLOGD}; then
echo "done"
2007-07-29 09:17:01 +02:00
else
2007-08-17 15:01:49 +02:00
echo "failed"
2007-07-29 09:17:01 +02:00
exit 1
fi