kumquat-buildroot/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd
2007-08-17 13:02:52 +00:00

17 lines
202 B
Bash
Executable File

#!/bin/sh
TELNETD=/usr/sbin/telnetd
echo -n "Starting telnetd: "
if [ ! -x "${TELNETD}" ]; then
echo "missing"
exit 1
fi
if ${TELNETD} -l /bin/ash; then
echo "done"
else
echo "failed"
exit 1
fi