1
0
mirror of synced 2024-11-25 22:36:04 +03:00
setup-ipsec-vpn/azure/install.sh
hwdsl2 73688763d2 Fix a typo in script
[ci skip]
2016-08-10 21:27:19 -05:00

13 lines
288 B
Bash

#!/bin/bash
export VPN_IPSEC_PSK=$1
export VPN_USER=$2
export VPN_PASSWORD=$3
# Debian on Azure has no lsb_release installed.
if ! [[ -x "/usr/bin/lsb_release" ]]
then
apt-get update
apt-get install -y lsb-release
fi
wget https://git.io/vpnsetup -O vpnsetup.sh && sh vpnsetup.sh