1 |
commit: eb18f4f3483b99705f944c7274b4a6b451716df7 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Dec 14 22:38:09 2017 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 14 22:38:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=eb18f4f3 |
7 |
|
8 |
hwclock: use shell variables for configuration file path |
9 |
|
10 |
This removes a reference to @SYSCONFDIR@. |
11 |
|
12 |
init.d/hwclock.in | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/init.d/hwclock.in b/init.d/hwclock.in |
16 |
index 0fce88f1..024bff0c 100644 |
17 |
--- a/init.d/hwclock.in |
18 |
+++ b/init.d/hwclock.in |
19 |
@@ -105,7 +105,7 @@ start() |
20 |
done |
21 |
[ -n "$modname" ] && |
22 |
ewarn "The $modname module needs to be configured in" \ |
23 |
- "@SYSCONFDIR@/conf.d/modules or built in." |
24 |
+ "${RC_SERVICE%/*/*}/conf.d/modules or built in." |
25 |
fi |
26 |
fi |