#!/bin/sh

echo "Please set root password:"

if ! /busybox/bin/passwd; then
	echo
	echo "Failed to set root password, telnetd will no start!"
	exit 1
fi

if ! /busybox/sbin/telnetd -l /busybox/bin/login; then
	echo
	echo "Failed to start telnetd!"
	exit 1
else
	echo
	echo "Success to start telnetd, you can telnet to this computer now!"
fi


