diff options
Diffstat (limited to 'projectroot/etc/init.d/telnetd')
-rw-r--r-- | projectroot/etc/init.d/telnetd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/projectroot/etc/init.d/telnetd b/projectroot/etc/init.d/telnetd new file mode 100644 index 000000000..2a568bc9e --- /dev/null +++ b/projectroot/etc/init.d/telnetd @@ -0,0 +1,21 @@ +#!/bin/sh +# +# /etc/init.d/telnetd +# +# $Id$ +# + +if [ -f /usr/sbin/telnetd ]; then + echo "Starting telnetd..." + /usr/sbin/telnetd + exit 0 +fi + +if [ -f /sbin/utelnetd ]; then + echo "Starting utelnetd..." + /sbin/utelnetd -d + exit 0 +fi + +echo "No telnetd found. Aborting" + |