From eb18f4f3483b99705f944c7274b4a6b451716df7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 14 Dec 2017 16:38:09 -0600 Subject: 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 -- cgit v1.2.3