On second thought, the complete ifupdown-clean idea is broken anyway. If a network interface is upped by udev (allow-hotplug, /lib/udev/net.agent), /etc/rcS.d/???ifupdown-clean won't be run yet.
Imho the only race-free way to do this, is to drop ifupdown-clean completely and make /var/run via tmpfs mandatory and move the ifstate file to /var/run, where it belongs. Cheers, Michael
signature.asc
Description: OpenPGP digital signature