From be1f9b0a93ac3af0899fc7cf70ed7604dbc598a4 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 26 Mar 2008 08:08:47 +0000 Subject: Add --exists and --resolve to rc-service. --- init.d/rc-enabled.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d') 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 -- cgit v1.2.3