Let _rc_parse_conf stick to parsing /etc/rc.conf and /etc/rc.conf.local
authorkili <kili@openbsd.org>
Mon, 11 Aug 2014 20:16:04 +0000 (20:16 +0000)
committerkili <kili@openbsd.org>
Mon, 11 Aug 2014 20:16:04 +0000 (20:16 +0000)
commita47c2043c23df77b2b04271626421dd3addbb65a
tree51cd8ff63038c12f7d0a43ac17f2304bd8236ffc
parent0763dae8b5ff3ba6334fdcec8ff4a16db86c1b5e
Let _rc_parse_conf stick to parsing /etc/rc.conf and /etc/rc.conf.local
if it's invoked without parameters. It's simpler than adding adding
/etc/rc.conf and /etc/rc.conf.local parameters whereever _rc_parse_conf
is used (e.g. /etc/rc and /etc/netstart).

While here, replace a

        for foo in "$@"; do something; done

by

        for foo; do something; done

ok aja@
etc/rc.d/rc.subr