Update patch.sh

This commit is contained in:
sbennell 2020-01-10 19:57:45 +11:00 committed by GitHub
parent 1efad90c33
commit 9688b12c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -17,4 +17,13 @@ apt update
apt upgrade -y apt upgrade -y
echo "- Install ifupdown2..." echo "- Install ifupdown2..."
apt install ifupdown2 -y apt install ifupdown2 -y
echo "- Updating Name..."
x="Proxmox Virtual Environment"
y="Bennell IT Virtual Environment"
sed -i -e "s/$x/$y/g" /usr/share/pve-manager/index.html.tpl
sed -i -e "s/$x/$y/g" /usr/share/pve-manager/touch/index.html.tpl
w="Proxmox VE"
e="Bennell IT VE "
sed -i -e "s/$w/$e/g" /usr/share/pve-manager/js/pvemanagerlib.js
echo "- done!" echo "- done!"