1 |
commit: 05e325146777f60aeb4e347c8e7399b0b3154445 |
2 |
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 19:15:48 2011 +0000 |
4 |
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 19:16:15 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=05e32514 |
7 |
|
8 |
Rename rc_logger_path to rc_log_path |
9 |
|
10 |
--- |
11 |
etc/rc.conf.in | 4 ++-- |
12 |
src/rc/rc-logger.c | 2 +- |
13 |
2 files changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/etc/rc.conf.in b/etc/rc.conf.in |
16 |
index e668782..e4a062b 100644 |
17 |
--- a/etc/rc.conf.in |
18 |
+++ b/etc/rc.conf.in |
19 |
@@ -47,9 +47,9 @@ |
20 |
# logging can take place and as such cannot log the sysinit runlevel. |
21 |
#rc_logger="YES" |
22 |
|
23 |
-# Through rc_logger_path you can specify a custom log file. |
24 |
+# Through rc_log_path you can specify a custom log file. |
25 |
# The default value is: /var/log/rc.log |
26 |
-#rc_logger_path=/var/log/rc.log |
27 |
+#rc_log_path=/var/log/rc.log |
28 |
|
29 |
# By default we filter the environment for our running scripts. To allow other |
30 |
# variables through, add them here. Use a * to allow all variables through. |
31 |
|
32 |
diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c |
33 |
index 593c16f..52c39f0 100644 |
34 |
--- a/src/rc/rc-logger.c |
35 |
+++ b/src/rc/rc-logger.c |
36 |
@@ -255,7 +255,7 @@ rc_logger_open(const char *level) |
37 |
} |
38 |
|
39 |
/* Append the temporary log to the real log */ |
40 |
- logfile = rc_conf_value("rc_logger_path"); |
41 |
+ logfile = rc_conf_value("rc_log_path"); |
42 |
if (logfile == NULL) |
43 |
logfile = DEFAULTLOG; |