|
|
@ -316,8 +316,8 @@ function update_script() {
|
|
|
|
PY=$(ls /srv/homeassistant/lib/)
|
|
|
|
PY=$(ls /srv/homeassistant/lib/)
|
|
|
|
IP=$(hostname -I | awk '{print $1}')
|
|
|
|
IP=$(hostname -I | awk '{print $1}')
|
|
|
|
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 3 \
|
|
|
|
UPD=$(whiptail --title "UPDATE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 3 \
|
|
|
|
"1" "Initialize" ON \
|
|
|
|
"1" "Initialize" OFF \
|
|
|
|
"2" "Update" OFF \
|
|
|
|
"2" "Update" ON \
|
|
|
|
"3" "HACS" OFF \
|
|
|
|
"3" "HACS" OFF \
|
|
|
|
3>&1 1>&2 2>&3)
|
|
|
|
3>&1 1>&2 2>&3)
|
|
|
|
|
|
|
|
|
|
|
|