summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S09klog
blob: 1b0028a084b91cd8df0f23d5823caaa43e5427b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

KLOGD=/sbin/klogd

echo -n "Starting klogd: "
if [ ! -x "${KLOGD}" ]; then
	echo "missing"
	exit 1
fi

if ${KLOGD}; then
	echo "done"
else
	echo "failed"
	exit 1
fi