aboutsummaryrefslogtreecommitdiff
path: root/init.d/local.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-05 12:27:11 +0000
committerRoy Marples <roy@marples.name>2008-03-05 12:27:11 +0000
commita689b66023ad7b3da179b02c9e473cbc49f295e6 (patch)
treec1e6baad98bdfde3c36f1105b8fe6f15534b30c4 /init.d/local.in
parent7aa231de2e784b00267cb618b728cf0f754c9573 (diff)
Add tunable SYSCONFDIR
Diffstat (limited to 'init.d/local.in')
-rw-r--r--init.d/local.in8
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"