summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S09klog
blob: 4c6763bbd057d635cb260641d60d4ecd53e43fcc (plain) (blame)
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} > /dev/null 2> /dev/null; then
	echo " done"
else
	echo " failed"
	exit 1
fi