diff options
author | Roy Marples <roy@marples.name> | 2008-03-25 18:33:45 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-25 18:33:45 +0000 |
commit | 5866d829bb4c3352056e2c6775efe71f299ee120 (patch) | |
tree | 81e25c55594cdbf114c4d22087ea1b7c27571793 /init.d/rc-enabled.in | |
parent | 068c90c82b07343b5f54fe5ac836fe3efc66f51f (diff) |
Try and fix more prefix stuff.
Diffstat (limited to 'init.d/rc-enabled.in')
-rw-r--r-- | init.d/rc-enabled.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/init.d/rc-enabled.in b/init.d/rc-enabled.in index 9801203b..f222e6ad 100644 --- a/init.d/rc-enabled.in +++ b/init.d/rc-enabled.in @@ -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 |