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}"
--
udev rule can fail to run ifdown, break reinserting device
https://bugs.launchpad.net/bugs/130437
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs