A newer suggestion on the openmoko wiki is to move the label net_end to be above the remove action. The resulting /etc/udev/rules.d/85-ifupdown.rules looks like:
SUBSYSTEM=="net", DRIVERS=="?*", GOTO="net_start" GOTO="net_end"
LABEL="net_start" ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
LABEL="net_end" ACTION=="remove", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifdown -- --allow auto $env{INTERFACE}"
A newer suggestion on the openmoko wiki is to move the label net_end to be above the remove action. The resulting /etc/udev/ rules.d/ 85-ifupdown. rules looks like:
SUBSYSTEM=="net", DRIVERS=="?*", GOTO="net_start"
GOTO="net_end"
LABEL="net_start" sbin/start- stop-daemon --start --background --pidfile /var/run/ network/ bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
ACTION=="add", RUN+="/
LABEL="net_end" sbin/start- stop-daemon --start --background --pidfile /var/run/ network/ bogus --startas /sbin/ifdown -- --allow auto $env{INTERFACE}"
ACTION=="remove", RUN+="/