2007-07-29 09:17:01 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
INETD=/usr/sbin/inetd
|
|
|
|
|
2007-10-12 14:34:04 +02:00
|
|
|
echo -n "Starting inetd: "
|
2007-07-29 09:17:01 +02:00
|
|
|
if [ ! -x "${INETD}" ]; 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 ${INETD}; 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
|