diff options
author | Roy Marples <roy@marples.name> | 2008-03-05 12:27:11 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-05 12:27:11 +0000 |
commit | a689b66023ad7b3da179b02c9e473cbc49f295e6 (patch) | |
tree | c1e6baad98bdfde3c36f1105b8fe6f15534b30c4 /init.d/local.in | |
parent | 7aa231de2e784b00267cb618b728cf0f754c9573 (diff) |
Add tunable SYSCONFDIR
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" |