From 10e46fcf08831075f56dbf6a83442d5fb17405d6 Mon Sep 17 00:00:00 2001 From: Francois COJEAN Date: Fri, 24 Feb 2017 09:45:09 +0100 Subject: [PATCH] Fix : Forgot to rename VPN_IPSEC_INTERFACE to VPN_NETWORK_INTERFACE since merge request #2 --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index ac87ca7f..f0bed431 100644 --- a/run.sh +++ b/run.sh @@ -31,8 +31,8 @@ if [ -z "$VPN_IPSEC_PSK" ] || [ -z "$VPN_USER_CREDENTIAL_LIST" ]; then exit 1 fi -if [ -z "$VPN_IPSEC_INTERFACE" ]; then - VPN_IPSEC_INTERFACE="eth0" +if [ -z "$VPN_NETWORK_INTERFACE" ]; then + VPN_NETWORK_INTERFACE="eth0" fi if [ `cat /sys/class/net/$VPN_NETWORK_INTERFACE/operstate` != "1" ]; then