SVN: rc-scripts/trunk: lib/functions sysconfig/system
glen
glen at pld-linux.org
Thu May 30 22:40:02 CEST 2013
Author: glen
Date: Thu May 30 22:40:02 2013
New Revision: 12678
Modified:
rc-scripts/trunk/lib/functions
rc-scripts/trunk/sysconfig/system
Log:
rename option to RC_UPTIME and add to default config
Modified: rc-scripts/trunk/lib/functions
==============================================================================
--- rc-scripts/trunk/lib/functions (original)
+++ rc-scripts/trunk/lib/functions Thu May 30 22:40:02 2013
@@ -394,7 +394,7 @@
show() {
local text len time
- if is_yes "$RC_BOOTTIME"; then
+ if is_yes "$RC_UPTIME"; then
time=$(awk '{printf("[%8.2f] ", $1)}' /proc/uptime)
fi
Modified: rc-scripts/trunk/sysconfig/system
==============================================================================
--- rc-scripts/trunk/sysconfig/system (original)
+++ rc-scripts/trunk/sysconfig/system Thu May 30 22:40:02 2013
@@ -124,5 +124,8 @@
# Enable syslogging for rc-scripts
RC_LOGGING=yes
+# Include machine uptime counter in all show messages
+RC_UPTIME=no
+
# Disable console logging by blogd
RC_BOOTLOG=yes
More information about the pld-cvs-commit
mailing list