summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/motd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/motd')
-rwxr-xr-xetc/rc.d/motd6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/motd b/etc/rc.d/motd
index ddd55f9..0b6707a 100755
--- a/etc/rc.d/motd
+++ b/etc/rc.d/motd
@@ -22,13 +22,13 @@ motd_start()
# Must be done *before* interactive logins are possible
# to prevent possible race conditions.
#
- echo -n 'Updating motd'
+ [ -z "${rc_quiet}" ] && echo -n 'Updating motd:'
if [ ! -f /etc/motd ]; then
install -c -o root -g wheel -m ${PERMS} /dev/null /etc/motd
fi
if [ ! -w /etc/motd ]; then
- echo ' ... /etc/motd is not writable, update failed.'
+ echo ' /etc/motd is not writable, update failed.'
return
fi
@@ -42,7 +42,7 @@ motd_start()
}
rm -f $T
- echo .
+ [ -z "${rc_quiet}" ] && echo .
}
load_rc_config $name
OpenPOWER on IntegriCloud