Skip to content

Commit

Permalink
Fix : Forgot to rename VPN_IPSEC_INTERFACE to VPN_NETWORK_INTERFACE s…
Browse files Browse the repository at this point in the history
…ince merge request #2
  • Loading branch information
fcojean authored Feb 24, 2017
1 parent e8903f5 commit 10e46fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10e46fc

Please sign in to comment.