rc.d/netif: Require cleanvar.
authorSascha Wildner <saw@online.de>
Tue, 24 Jul 2012 21:19:23 +0000 (23:19 +0200)
committerSascha Wildner <saw@online.de>
Tue, 24 Jul 2012 21:19:23 +0000 (23:19 +0200)
commit9f97b95a8933567d8f1f7af29516afeb0a53554d
tree7e7fa50767d47970c3b0cd793f2fbd937509e98c
parentbf45db4e252384873542eec43f47c78a583e3aa1
rc.d/netif: Require cleanvar.

Before the ipfilter removal, netif required ipfilter, which required
ipmon, which required cleanvar. In other words, cleanvar was run before
netif.

With the ipfilter requirement removed from netif, cleanvar was now
ordered at some place after netif, which caused the PID file and
control socket of wpa_supplicant(8) (which is started by netif if an
ifconfig_xxx="WPA" line is found in /etc/rc.conf) to be removed from
/var/run by cleanvar after they were created.

This caused trouble for wpa_cli(8), which needs the socket.

Found-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
etc/rc.d/netif