From ee80e9b39b39878ef00a541e4cfd3f1e97e01fd1 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Fri, 17 Aug 2007 13:02:52 +0000 Subject: Update atstk1002 target skeleton --- .../device/Atmel/atstk1002/target_skeleton/etc/init.d/S02hostname | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S02hostname') diff --git a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S02hostname b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S02hostname index fcad428af..cf858ed62 100755 --- a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S02hostname +++ b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S02hostname @@ -2,7 +2,7 @@ PROGRAM=/bin/hostname -echo -n "Setting hostname:" +echo -n "Setting hostname: " [ -x ${PROGRAM} ] || (echo " missing"; exit 0) if [ -f /etc/hostname ]; then @@ -12,10 +12,10 @@ else fi start() { - if ${PROGRAM} "${HOST}" > /dev/null 2> /dev/null; then - echo " '${HOST}'" + if ${PROGRAM} "${HOST}"; then + echo "'${HOST}'" else - echo " failed" + echo "failed" exit 1 fi } -- cgit v1.2.3