rc.shutdown :
Put the rfkill line after some maybe network related
code has finished. /sys/class/net/${ACTIVE_INTERFACE}/
actually exists only as long as the network is up.
If the code that collects network data isn't contained
in the usual network scripts and the network gets closed
before shutdown, the code would not collect anything.