summaryrefslogtreecommitdiff
path: root/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd')
-rwxr-xr-xtarget/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd
index c44bbb5ae..b253c1036 100755
--- a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd
+++ b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S40telnetd
@@ -2,15 +2,15 @@
TELNETD=/usr/sbin/telnetd
-echo -n "Starting telnetd:"
+echo -n "Starting telnetd: "
if [ ! -x "${TELNETD}" ]; then
- echo " missing"
+ echo "missing"
exit 1
fi
-if ${TELNETD} -l /bin/ash > /dev/null 2> /dev/null; then
- echo " done"
+if ${TELNETD} -l /bin/ash; then
+ echo "done"
else
- echo " failed"
+ echo "failed"
exit 1
fi