#!/bin/bash

cd 
git clone https://git.nia.ink/brnet/vpncloud-alpine.git

mv ./vpncloud-alpine/vpncloud_bin /usr/local/bin/vpncloud
chmod +x /usr/local/bin/vpncloud
mv ./vpncloud-alpine/vpncloud_init.d /etc/init.d/vpncloud
chmod +x /etc/init.d/vpncloud
mkdir /etc/vpncloud
mv ./vpncloud-alpine/example.net /etc/vpncloud/example.net 

cd
rm -rf vpncloud-alpine
rm install.sh