mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update wireguard-install.sh
This commit is contained in:
parent
06349833df
commit
51b2d151e0
@ -91,7 +91,11 @@ pip install icmplib &>/dev/null
|
||||
echo -e "${CM}${CL} \r"
|
||||
|
||||
echo -en "${GN} Installing WGDashboard... "
|
||||
git clone -b v3.0.5 https://github.com/donaldzou/WGDashboard.git /ect/wgdashboard &>/dev/null
|
||||
WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/latest \
|
||||
| grep "tag_name" \
|
||||
| awk '{print substr($2, 2, length($2)-3) }') \
|
||||
|
||||
git clone -b ${WGDREL} https://github.com/donaldzou/WGDashboard.git /ect/wgdashboard &>/dev/null
|
||||
cd /ect/wgdashboard/src
|
||||
sudo chmod u+x wgd.sh
|
||||
sudo ./wgd.sh install &>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user