diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-14 15:44:21 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-14 15:44:21 +0200 |
commit | a0b9e69f406ad7cbb7f50f9a044509471f3bd262 (patch) | |
tree | 159cbbe16b7b87bc5df7b0fd3cc8b39ca34786d2 /src/connections/bridge | |
parent | a02fed0ee3f23bb468f1577a61f24ff289bf3a6b (diff) | |
download | netctl-a0b9e69f406ad7cbb7f50f9a044509471f3bd262.tar.gz netctl-a0b9e69f406ad7cbb7f50f9a044509471f3bd262.tar.xz |
Revise simple connection scripts
- make specifying IP optional for tuntap profiles (FS#30638)
- ethernet_{up,down} takes care of bring_interface {up,down}
- debugging updates: don't hide errors, they are useful
Diffstat (limited to 'src/connections/bridge')
-rw-r--r-- | src/connections/bridge | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/connections/bridge b/src/connections/bridge index 03b09d3..6b3ab67 100644 --- a/src/connections/bridge +++ b/src/connections/bridge @@ -24,7 +24,6 @@ bridge_up() { [[ "$FWD_DELAY" ]] && $BRCTL setfd "$INTERFACE" "$FWD_DELAY" [[ "$MAX_AGE" ]] && $BRCTL setmaxage "$INTERFACE" "$MAX_AGE" - bring_interface up "$INTERFACE" "$CONN_DIR/ethernet" up "$1" return 0 } @@ -39,7 +38,6 @@ bridge_down() { done "$CONN_DIR/ethernet" down "$1" - bring_interface down "$INTERFACE" $BRCTL delbr "$INTERFACE" return 0 } |