From 968db9a1b89c0a8072e2527b6ef579b72eccf068 Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 14 Dec 2008 10:58:28 -0600 Subject: 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") --- packages/slugos-init/files/turnup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/slugos-init') 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 -- cgit 1.2.3-korg