1
0
mirror of synced 2024-11-25 22:36:04 +03:00
setup-ipsec-vpn/azure/install.sh
hwdsl2 4deb437562 Fix permissions
- Set the executable bit for .sh files. Ref: #910. Thanks @reuixiy!
2021-02-13 14:40:48 -06:00

11 lines
176 B
Bash
Executable File

#!/bin/sh
export VPN_IPSEC_PSK=$1
export VPN_USER=$2
export VPN_PASSWORD=$3
# Wait 60 seconds for apt/dpkg lock
sleep 60
wget https://git.io/vpnsetup -O vpn.sh && sh vpn.sh