# rrqnet_bridge <bridge>
# rrqnet_dhcp <options>
-: ${RRQDAEMON:=/usr/local/sbin/rrqnet}
+: ${RRQDAEMON:=/usr/sbin/rrqnet}
: ${NAME:=rrqnet-${IFACE}}
#function
start_cable_post_up() {
case "$IF_RRQNET_DHCP" in
dhclient*)
- start_dhclient IF_RRQNET_DHCP
+ start_dhclient $IF_RRQNET_DHCP
;;
*)
: # no or unkown dhcp option
: # no or unkown dhcp option
;;
esac
+ daemon -n $NAME --stop
}
#function
stop_cable_post_down() {
- daemon -n $NAME --stop
+ ip link del $IFACE
}
# main script body