Update homeassistant-v3.sh
This commit is contained in:
parent
ca997e7ba8
commit
512da0f278
1 changed files with 3 additions and 0 deletions
|
@ -33,12 +33,14 @@ ${CL}"
|
||||||
|
|
||||||
header_info
|
header_info
|
||||||
|
|
||||||
|
function PVE_CHECK() {
|
||||||
if [[ $PVE != 1 ]]; then
|
if [[ $PVE != 1 ]]; then
|
||||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||||
echo -e "Exiting..."
|
echo -e "Exiting..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function default_settings() {
|
function default_settings() {
|
||||||
clear
|
clear
|
||||||
|
@ -259,6 +261,7 @@ function start_script() {
|
||||||
fi;
|
fi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PVE_CHECK
|
||||||
start_script
|
start_script
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
|
Loading…
Reference in a new issue