aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-14 16:38:09 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-14 16:38:09 -0600
commiteb18f4f3483b99705f944c7274b4a6b451716df7 (patch)
tree2cdcb2255063838a6c7079ffb713fe2952af4e13 /init.d
parentd5f3fe52c87928095bd2659823b985d231f0718c (diff)
hwclock: use shell variables for configuration file path
This removes a reference to @SYSCONFDIR@.
Diffstat (limited to 'init.d')
-rw-r--r--init.d/hwclock.in2
1 files changed, 1 insertions, 1 deletions
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