artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f5b97
)
If a service is disabled its flags are unconditionally set to "NO", so
author
ajacoutot
<ajacoutot@openbsd.org>
Thu, 21 Aug 2014 08:54:58 +0000
(08:54 +0000)
committer
ajacoutot
<ajacoutot@openbsd.org>
Thu, 21 Aug 2014 08:54:58 +0000
(08:54 +0000)
there's not need to display "enabled" or "disabled" when calling "status",
we have the information already.
usr.sbin/rcctl/rcctl.sh
patch
|
blob
|
history
diff --git
a/usr.sbin/rcctl/rcctl.sh
b/usr.sbin/rcctl/rcctl.sh
index
a2ed600
..
b70f3f4
100644
(file)
--- a/
usr.sbin/rcctl/rcctl.sh
+++ b/
usr.sbin/rcctl/rcctl.sh
@@
-111,7
+111,6
@@
svc_get_status()
else
for _i in $(svc_get_all); do
printf "%18s" ${_i}
- svc_is_enabled ${_i} && echo -n "(enabled)" || echo -n "(disabled)"
echo -n "\tflags="
svc_get_flags ${_i}
done