summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/turnup
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-12-14 10:58:28 -0600
committerMike Westerhof <mwester@dls.net>2008-12-14 10:58:28 -0600
commit968db9a1b89c0a8072e2527b6ef579b72eccf068 (patch)
treed46460b8b8db618b37ef38bea57b9817fb6aad6e /packages/slugos-init/files/turnup
parent29e17e4c7c7f8fe2b01ee68019ec7f3796f205ff (diff)
SlugOS: turnup - comment out some messages printed during normal operation
(some were clearly debug, and the syslog messages are just confusing to the average user -- best to limit output to "silence if all is well")
Diffstat (limited to 'packages/slugos-init/files/turnup')
-rw-r--r--packages/slugos-init/files/turnup10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup
index 4e92668b18..118a57d808 100644
--- a/packages/slugos-init/files/turnup
+++ b/packages/slugos-init/files/turnup
@@ -324,7 +324,7 @@ setup_var() {
# populate /var. We just need to create the /var/volatile mount
# point, the populate-volatile script does the work at boot time.
- echo "turnup: ensuring /var/volatile mountpoint exists"
+ #QUIET: echo "turnup: ensuring /var/volatile mountpoint exists" >&2
test -d "$1"/var/volatile || mkdir "$1"/var/volatile
# we need to put in place the correct configuration file for
@@ -343,7 +343,7 @@ setup_var() {
# remove the /var tmpfs entry from the new /etc/fstab, if it is
# present in the first place.
sed -i '\@[ ]/var[ ][ ]*tmpfs[ ]@d' "$1"/etc/fstab
- echo "turnup: ensuring tmpfs will not be mounted on /var" >&2
+ #QUIET: echo "turnup: ensuring tmpfs will not be mounted on /var" >&2
#
return 0
}
@@ -367,9 +367,9 @@ setup_syslog() {
sed -i 's!DESTINATION="buffer"!DESTINATION="file"!
/^ROTATESIZE=/d
/^ROTATEGENS=/d' "$1"/etc/syslog.conf
- echo "turnup: /etc/syslog.conf: changed to file buffering" >&2
- echo " Old (buffer) version in /etc/syslog.conf.sav" >&2
- echo " Log messages will be in /var/log/messages" >&2
+ #QUIET: echo "turnup: /etc/syslog.conf: changed to file buffering" >&2
+ #QUIET: echo " Old (buffer) version in /etc/syslog.conf.sav" >&2
+ #QUIET: echo " Log messages will be in /var/log/messages" >&2
else
echo "turnup: /etc/syslog.conf: failed to make a copy" >&2
echo " syslog will log to a buffer" >&2