aboutsummaryrefslogtreecommitdiff
path: root/init.d/rc-enabled.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-26 08:08:47 +0000
committerRoy Marples <roy@marples.name>2008-03-26 08:08:47 +0000
commitbe1f9b0a93ac3af0899fc7cf70ed7604dbc598a4 (patch)
tree23e21c017de1bcbe203306d7b26e9282f52bc5e3 /init.d/rc-enabled.in
parente30ea10e6cb3d3eca370fdb22d479834ec3f86a4 (diff)
Add --exists and --resolve to rc-service.
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