#!/bin/sh
#
# start telnet daemon
#
# runlevels: geexbox, debug, configure

# get options
test -f /etc/network || exit 1
. /etc/network

if test "$TELNET_SERVER" = "yes" -a -f /etc/issue; then
  echo "### Starting telnet daemon ###"
  /usr/sbin/telnetd -f /etc/issue >/dev/null 2>&1 &
fi

exit 0
