artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee90007
)
Drop obvious comments.
author
ajacoutot
<ajacoutot@openbsd.org>
Sun, 24 Aug 2014 17:01:44 +0000
(17:01 +0000)
committer
ajacoutot
<ajacoutot@openbsd.org>
Sun, 24 Aug 2014 17:01:44 +0000
(17:01 +0000)
usr.sbin/rcctl/rcctl.sh
patch
|
blob
|
history
diff --git
a/usr.sbin/rcctl/rcctl.sh
b/usr.sbin/rcctl/rcctl.sh
index
c4faf93
..
64511e3
100644
(file)
--- a/
usr.sbin/rcctl/rcctl.sh
+++ b/
usr.sbin/rcctl/rcctl.sh
@@
-1,6
+1,6
@@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.1
5 2014/08/24 13:46:57 schwarze
Exp $
+# $OpenBSD: rcctl.sh,v 1.1
6 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}