aboutsummaryrefslogtreecommitdiff
path: root/bin/vpnd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vpnd')
-rwxr-xr-xbin/vpnd3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/vpnd b/bin/vpnd
new file mode 100755
index 0000000..0631a90
--- /dev/null
+++ b/bin/vpnd
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sudo xl2tpd-control disconnect $1 && sudo ipsec down $1