summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/tunnel
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-03-22 12:07:53 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-03-22 12:07:53 +0100
commite8210827fd59e4539a70af55cb452b211633fedd (patch)
tree541197d57b0a222bb13e821bbde58793be0e26d7 /src/lib/connections/tunnel
parentc8e96611f141dd14ba0a6e8924e2951852401d8e (diff)
downloadnetctl-e8210827fd59e4539a70af55cb452b211633fedd.tar.gz
netctl-e8210827fd59e4539a70af55cb452b211633fedd.tar.xz
More possibilities for connection scripts
This allows connection scripts to provide defaults, among other things.
Diffstat (limited to 'src/lib/connections/tunnel')
-rw-r--r--src/lib/connections/tunnel2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/connections/tunnel b/src/lib/connections/tunnel
index f202371..76b6b5f 100644
--- a/src/lib/connections/tunnel
+++ b/src/lib/connections/tunnel
@@ -2,6 +2,8 @@
. "$SUBR_DIR/ip"
+: ${BindsToInterfaces=}
+
tunnel_up() {
if is_interface "$Interface"; then
report_error "Interface '$Interface' already exists"