From e42e7f7a3a7333b82f074aa1531954be64f12ef7 Mon Sep 17 00:00:00 2001 From: Zeno Zeng Date: Sat, 22 Nov 2014 16:55:49 +0800 Subject: [PATCH] connect now won't disconnect by default --- lib/vpn.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/vpn.sh b/lib/vpn.sh index 53ed016..556a831 100755 --- a/lib/vpn.sh +++ b/lib/vpn.sh @@ -40,9 +40,6 @@ disconnect() { } connect() { - disconnect - sleep 3 - users=$("${BASEDIR}/user.sh" getall) "${BASEDIR}/sudo.sh" "${BASEDIR}/xl2tpd.sh" restart