kumquat-buildroot/target/device/Atmel/atstk1005/target_skeleton/etc/init.d/S40telnetd

17 lines
201 B
Plaintext
Raw Normal View History

2008-12-20 23:24:11 +01:00
#!/bin/sh
TELNETD=/usr/sbin/telnetd
echo -n "Starting telnetd: "
if [ ! -x "${TELNETD}" ]; then
echo "missing"
exit 1
fi
if ${TELNETD} -l /bin/sh; then
echo "done"
else
echo "failed"
exit 1
fi