# Bring devices up and down only if they're marked auto.
# Use start-stop-daemon so we don't wait on dhcp
ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
Found this at: http:// wiki.openmoko. org/wiki/ USB_Networking# Ubuntu_ .28Tested_ with_Feisty. 2C_Gutsy_ and_Hardy. 29
It seems that LABEL="net_end" is in the wrong place
Can this be fixed now?
Edit /etc/udev/ rules.d/ 85-ifupdown. rules
SUBSYSTEM=="net", DRIVERS=="?*", GOTO="net_start"
GOTO="net_end"
LABEL="net_start"
# Bring devices up and down only if they're marked auto. sbin/start- stop-daemon --start --background --pidfile /var/run/ network/ bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
# Use start-stop-daemon so we don't wait on dhcp
ACTION=="add", RUN+="/
LABEL="net_end"
ACTION=="remove", RUN+="/ sbin/start- stop-daemon --start --background --pidfile /var/run/ network/ bogus --startas /sbin/ifdown -- --allow auto $env{INTERFACE}"