commit:     eb18f4f3483b99705f944c7274b4a6b451716df7
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Dec 14 22:38:09 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 14 22:38:09 2017 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=eb18f4f3

hwclock: use shell variables for configuration file path

This removes a reference to @SYSCONFDIR@.

 init.d/hwclock.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.d/hwclock.in b/init.d/hwclock.in
index 0fce88f1..024bff0c 100644
--- a/init.d/hwclock.in
+++ b/init.d/hwclock.in
@@ -105,7 +105,7 @@ start()
                        done
                        [ -n "$modname" ] &&
                                ewarn "The $modname module needs to be 
configured in" \
-                                       "@SYSCONFDIR@/conf.d/modules or built 
in."
+                                       "${RC_SERVICE%/*/*}/conf.d/modules or 
built in."
                fi
        fi
 

Reply via email to