aboutsummaryrefslogtreecommitdiff
path: root/init.d/rc-enabled.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/rc-enabled.in')
-rw-r--r--init.d/rc-enabled.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/rc-enabled.in b/init.d/rc-enabled.in
index f222e6ad..82dc5964 100644
--- a/init.d/rc-enabled.in
+++ b/init.d/rc-enabled.in
@@ -24,7 +24,7 @@ start()
done
# If we have an init script for this service, continue
- rc-service --list | grep -q "${service}" && continue
+ rc-service --exists "${service}" && continue
# Ensure that the users rc.conf will start us - ignore the defaults
eval enabled=\$${svc##*/}_enable