diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-17 13:01:49 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-17 13:01:49 +0000 |
commit | 24c980292843b7b9aebc9f1831c6c1e8ba49c148 (patch) | |
tree | 81e0800053aaa9c793d47c72d2ea8aaeaaf06546 /target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog | |
parent | 55e2d9bdb5017342166af67b7289956113ffc4ea (diff) |
Update atngw100 target skeleton
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog')
-rwxr-xr-x | target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog index 63951e023..58b05925d 100755 --- a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog +++ b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S08syslog @@ -2,23 +2,23 @@ SYSLOGD=/sbin/syslogd -echo -n "Starting syslogd:" +echo -n "Starting syslogd: " if [ ! -x "${SYSLOGD}" ]; then - echo " missing" + echo "missing" exit 1 fi -if ${SYSLOGD} > /dev/null 2> /dev/null; then - echo " done" +if ${SYSLOGD}; then + echo "done" else - echo " failed" + echo "failed" exit 1 fi -echo -n "Log messages to syslog:" -if echo 4 4 1 7 > /proc/sys/kernel/printk 2> /dev/null; then - echo " done" +echo -n "Log messages to syslog: " +if echo 4 4 1 7 > /proc/sys/kernel/printk; then + echo "done" else - echo " failed" + echo "failed" exit 1 fi |