]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
rename option to RC_UPTIME and add to default config
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 20:40:02 +0000 (20:40 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 20:40:02 +0000 (20:40 +0000)
svn-id: @12678

lib/functions
sysconfig/system

index 75f0de3f66ed8e53f76669287db8ce36ff5792e5..4658d6f08a178fc51c35b1573d5b9972b626a1bf 100644 (file)
@@ -394,7 +394,7 @@ msg_usage() {
 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
 
index c5c8f1c6447e9bed52eb3565193eb2b6dc6f88a4..57bf20d2b5052ae5dabee9c0e10e65b25dbdc58a 100644 (file)
@@ -124,5 +124,8 @@ VSERVER_ISOLATION_NET=detect
 # 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
This page took 0.203552 seconds and 4 git commands to generate.