diff options
Diffstat (limited to 'init.d/local.in')
-rw-r--r-- | init.d/local.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d/local.in b/init.d/local.in index 722d9714..bfc05107 100644 --- a/init.d/local.in +++ b/init.d/local.in @@ -19,8 +19,8 @@ start() fi # Support old configs - if [ -e /etc/conf.d/local.start ]; then - . /etc/conf.d/local.start + if [ -e @SYSCONFDIR@/conf.d/local.start ]; then + . @SYSCONFDIR@/conf.d/local.start fi eend $? "Failed to start local" @@ -35,8 +35,8 @@ stop() fi # Support old configs - if [ -e /etc/conf.d/local.stop ]; then - . /etc/conf.d/local.stop + if [ -e @SYSCONFDIR@/conf.d/local.stop ]; then + . @SYSCONFDIR@/conf.d/local.stop fi eend $? $"Failed to stop local" |