On 07/19/15 21:52, Robert Peichaer wrote:
CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2015/07/19 13:52:36

Modified files:
        etc            : netstart

Log message:
Always source rc.subr to be able to use the rc.conf parsing routine
to get the network related vars from rc.conf. This is even necessary
if netstart is run from within /etc/rc. Remove test of $INRC which
unintentionally evaluated always to true.

rev. 1.435 and 1.439 of /etc/rc did this to us, where we stopped sourcing netstat (thereby running in the same environment) and instead called them via sh(1), only exposing the exported INRC.

I'm quite positive this now removed INRC check construct predated them.

/Alexander


problem with previous change found by nigel@
OK sthen@ aja@ halex@


Affected files:
        http://o.beard.se/src/etc/netstart

Reply via email to