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

17 lines
229 B
Plaintext
Raw Normal View History

2007-07-29 09:17:01 +02:00
#!/bin/sh
TELNETD=/usr/sbin/telnetd
echo -n "Starting telnetd:"
if [ ! -x "${TELNETD}" ]; then
echo " missing"
exit 1
fi
if ${TELNETD} -l /bin/ash > /dev/null 2> /dev/null; then
echo " done"
else
echo " failed"
exit 1
fi