blob: e0fd2f2f34a338c5031beafd3b3af2817eaa1407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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
|