aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vpnc3
-rwxr-xr-xbin/vpnd3
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/vpnc b/bin/vpnc
index 053254c..3933feb 100755
--- a/bin/vpnc
+++ b/bin/vpnc
@@ -1,3 +1,4 @@
#!/bin/sh
-sudo ipsec up $1 && sleep 1 && sudo xl2tpd-control connect $1
+#sudo ipsec up $1 && sleep 1 && sudo xl2tpd-control connect $1
+sudo xl2tpd-control connect $1
diff --git a/bin/vpnd b/bin/vpnd
index 0631a90..a43dc0d 100755
--- a/bin/vpnd
+++ b/bin/vpnd
@@ -1,3 +1,4 @@
#!/bin/sh
-sudo xl2tpd-control disconnect $1 && sudo ipsec down $1
+# sudo xl2tpd-control disconnect $1 && sudo ipsec down $1
+sudo xl2tpd-control disconnect $1