From a0b9e69f406ad7cbb7f50f9a044509471f3bd262 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Sat, 14 Jul 2012 15:44:21 +0200 Subject: 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 --- src/connections/tunnel | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/connections/tunnel') diff --git a/src/connections/tunnel b/src/connections/tunnel index e37a37c..6cefc5c 100644 --- a/src/connections/tunnel +++ b/src/connections/tunnel @@ -15,8 +15,6 @@ tunnel_up() { ip tunnel change "$INTERFACE" local "$LOCAL" fi - bring_interface up "$INTERFACE" - "$CONN_DIR/ethernet" up "$1" return 0 } @@ -25,7 +23,6 @@ tunnel_down() { load_profile "$1" "$CONN_DIR/ethernet" down "$1" - bring_interface down "$INTERFACE" ip tunnel del "$INTERFACE" return 0 -- cgit v1.2.3-24-g4f1b