1 --- hotplug/etc/hotplug/net.agent 2005-01-13 21:12:47.143597392 +1300
2 +++ hotplug/etc/hotplug/net.agent 2005-01-13 21:17:57.095477544 +1300
4 debug_mesg assuming $INTERFACE is already up
7 + # interfaces that don't go up until attached
10 # interfaces that are registered then brought up
12 # NOTE: network configuration relies on administered state,
14 mesg $1 $ACTION event not handled
18 + # ifupdown is dumb and won't bring up an interface that it thinks
19 + # might already be configured.
20 + /sbin/ifdown $INTERFACE
21 + exec /sbin/ifup $INTERFACE
26 # interfaces that are unregistered after being "down" (?)
28 mesg $1 $ACTION event not handled
32 + if [ -x /sbin/ifdown ]; then
33 + debug_mesg invoke ifdown $INTERFACE
34 + exec /sbin/ifdown $INTERFACE
36 + mesg "E: /sbin/ifdown not found. You need to install ifupdown package"
38 + mesg $1 $ACTION event not handled
42 debug_mesg NET $ACTION event for $INTERFACE not supported