summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-08-24 17:01:45 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-08-24 17:01:45 +0000
commitd17a9407dd160b5e8d486f9e50fdb94cb5f064a1 (patch)
treeef11b7f5dcbfc26c71eec6f3988e05fe2cb7fb51
parente60e2a92b7e62bd89298cf103b17da257d59ac21 (diff)
Drop obvious comments.
-rw-r--r--usr.sbin/rcctl/rcctl.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh
index c4faf934cee..64511e33bf2 100644
--- a/usr.sbin/rcctl/rcctl.sh
+++ b/usr.sbin/rcctl/rcctl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.15 2014/08/24 13:46:57 schwarze Exp $
+# $OpenBSD: rcctl.sh,v 1.16 2014/08/24 17:01:44 ajacoutot Exp $
#
# Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@ -58,12 +58,8 @@ svc_default_enabled()
local _svc=$1
[ -n "${_svc}" ] || return
- # get _defaults_ values only
_rc_parse_conf /etc/rc.conf
-
svc_is_enabled ${_svc} && _ret=0
-
- # reparse _all_ values
_rc_parse_conf
return ${_ret}