=== modified file 'network-hooks.d/bridge' --- network-hooks.d/bridge 2011-11-28 22:52:16 +0000 +++ network-hooks.d/bridge 2011-11-28 22:58:16 +0000 @@ -38,9 +38,9 @@ case "$1" in start) - /usr/sbin/brctl addbr "$BRIDGE" + "$brctl" addbr "$BRIDGE" for port in $PORTS; do - /usr/sbin/brctl addif "$BRIDGE" "$port" + "$brctl" addif "$BRIDGE" "$port" done ip link set up "$BRIDGE" if [ -n "$IPADDRS" ]; then @@ -57,9 +57,9 @@ stop) ip link set down "$BRIDGE" for port in $PORTS; do - /usr/sbin/brctl delif "$BRIDGE" "$port" + "$brctl" delif "$BRIDGE" "$port" done - /usr/sbin/brctl delbr "$BRIDGE" + "$brctl" delbr "$BRIDGE" ;; files) echo /bin/ip