Try and fix more prefix stuff.

This commit is contained in:
Roy Marples
2008-03-25 18:33:45 +00:00
parent 068c90c82b
commit 5866d829bb
4 changed files with 19 additions and 21 deletions

View File

@@ -24,9 +24,7 @@ start()
done
# If we have an init script for this service, continue
[ -x @SYSCONFDIR@/init.d/"${service}" ] && continue
[ -x @PKG_PREFIX@/@SYSCONFDIR@/init.d/"${service}" ] && continue
[ -x @LOCAL_PREFIX@/@SYSCONFDIR@/init.d/"${service}" ] && continue
rc-service --list | grep -q "${service}" && continue
# Ensure that the users rc.conf will start us - ignore the defaults
eval enabled=\$${svc##*/}_enable