summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rcctl
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2015-07-16 21:52:16 +0000
committerajacoutot <ajacoutot@openbsd.org>2015-07-16 21:52:16 +0000
commit874e8957903f40c6bc3511a330712ed4d8209901 (patch)
treeaad8cb504aa788c5b67005afc2c1881caec84ba7 /usr.sbin/rcctl
parentsync (diff)
downloadwireguard-openbsd-874e8957903f40c6bc3511a330712ed4d8209901.tar.xz
wireguard-openbsd-874e8957903f40c6bc3511a330712ed4d8209901.zip
Shorten variable name.
Diffstat (limited to 'usr.sbin/rcctl')
-rw-r--r--usr.sbin/rcctl/rcctl.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh
index 09f0f3d4a03..b5d045406da 100644
--- a/usr.sbin/rcctl/rcctl.sh
+++ b/usr.sbin/rcctl/rcctl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.71 2015/07/15 04:19:41 ajacoutot Exp $
+# $OpenBSD: rcctl.sh,v 1.72 2015/07/16 21:52:16 ajacoutot Exp $
#
# Copyright (c) 2014, 2015 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -17,9 +17,9 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-_special_services="accounting check_quotas ipsec multicast_host multicast_router
- pf spamd_black"
-readonly _special_services
+_special_svcs="accounting check_quotas ipsec multicast_host multicast_router pf
+ spamd_black"
+readonly _special_svcs
# get local functions from rc.subr(8)
FUNCS_ONLY=1
@@ -153,7 +153,7 @@ svc_is_special()
local _svc=$1
[ -n "${_svc}" ] || return
- echo ${_special_services} | grep -qw -- ${_svc}
+ echo ${_special_svcs} | grep -qw -- ${_svc}
}
svc_ls()
@@ -168,7 +168,7 @@ svc_ls()
all)
(
ls_rcscripts
- echo ${_special_services} | tr "[:blank:]" "\n"
+ echo ${_special_svcs} | tr "[:blank:]" "\n"
) | sort
;;
faulty)