summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-07-06 21:15:48 +0200
committerChristian Ruppert <idl0r@gentoo.org>2011-07-06 21:16:15 +0200
commit05e325146777f60aeb4e347c8e7399b0b3154445 (patch)
treea2f561c581fe71d7e02411af21728b0311a13a39
parent9a068c2500b3d8d473900dfaaf7d3fb5d593862d (diff)
downloadopenrc-05e325146777f60aeb4e347c8e7399b0b3154445.tar.gz
openrc-05e325146777f60aeb4e347c8e7399b0b3154445.tar.bz2
openrc-05e325146777f60aeb4e347c8e7399b0b3154445.tar.xz
Rename rc_logger_path to rc_log_path
-rw-r--r--etc/rc.conf.in4
-rw-r--r--src/rc/rc-logger.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index e668782..e4a062b 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -47,9 +47,9 @@
# logging can take place and as such cannot log the sysinit runlevel.
#rc_logger="YES"
-# Through rc_logger_path you can specify a custom log file.
+# Through rc_log_path you can specify a custom log file.
# The default value is: /var/log/rc.log
-#rc_logger_path=/var/log/rc.log
+#rc_log_path=/var/log/rc.log
# By default we filter the environment for our running scripts. To allow other
# variables through, add them here. Use a * to allow all variables through.
diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c
index 593c16f..52c39f0 100644
--- a/src/rc/rc-logger.c
+++ b/src/rc/rc-logger.c
@@ -255,7 +255,7 @@ rc_logger_open(const char *level)
}
/* Append the temporary log to the real log */
- logfile = rc_conf_value("rc_logger_path");
+ logfile = rc_conf_value("rc_log_path");
if (logfile == NULL)
logfile = DEFAULTLOG;