Add tunable SYSCONFDIR

This commit is contained in:
Roy Marples
2008-03-05 12:27:11 +00:00
parent 7aa231de2e
commit a689b66023
34 changed files with 65 additions and 64 deletions

View File

@@ -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"