17 lines
203 B
Bash
Executable File
17 lines
203 B
Bash
Executable File
#!/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
|