summaryrefslogtreecommitdiffstats
path: root/src/connections/tunnel
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-07-14 15:44:21 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-07-14 15:44:21 +0200
commita0b9e69f406ad7cbb7f50f9a044509471f3bd262 (patch)
tree159cbbe16b7b87bc5df7b0fd3cc8b39ca34786d2 /src/connections/tunnel
parenta02fed0ee3f23bb468f1577a61f24ff289bf3a6b (diff)
downloadnetctl-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/tunnel')
-rw-r--r--src/connections/tunnel3
1 files changed, 0 insertions, 3 deletions
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