701475f791
Submitted by Hans-Christian Egtvedt
17 lines
201 B
Bash
17 lines
201 B
Bash
#!/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
|