[oe-commits] Mike Westerhof : SlugOS: turnup - comment out some messages printed during normal operation
GIT User account
git at amethyst.openembedded.net
Sun Dec 14 17:24:39 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 968db9a1b89c0a8072e2527b6ef579b72eccf068
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=968db9a1b89c0a8072e2527b6ef579b72eccf068
Author: Mike Westerhof <mwester at dls.net>
Date: Sun Dec 14 10:58:28 2008 -0600
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 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup
index 4e92668..118a57d 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
More information about the Openembedded-commits
mailing list