tteckster 2 лет назад
Родитель
Сommit
8cdff0aca5
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      ct/homeassistant-core.sh

+ 3 - 3
ct/homeassistant-core.sh

@@ -68,12 +68,12 @@ function update_script() {
     if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
     if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
       clear
       clear
       header_info
       header_info
-      echo -e "${GN}Updating to Version ${BETA}${CL}"
+      echo -e "${GN}Updating to Beta Version${CL}"
       BR="--pre "
       BR="--pre "
     else
     else
       clear
       clear
       header_info
       header_info
-      echo -e "${GN}Updating to Version ${STABLE}${CL}"
+      echo -e "${GN}Updating to Srable Version${CL}"
       BR=""
       BR=""
     fi
     fi
     if [[ "$PY" == "python3.9" ]]; then echo -e "⚠️  Python 3.9 is deprecated and will be removed in Home Assistant 2023.2"; fi
     if [[ "$PY" == "python3.9" ]]; then echo -e "⚠️  Python 3.9 is deprecated and will be removed in Home Assistant 2023.2"; fi
@@ -125,7 +125,7 @@ ExecStart=/usr/local/bin/filebrowser -r /root/.homeassistant
 [Install]
 [Install]
 WantedBy=default.target" >$service_path
 WantedBy=default.target" >$service_path
 
 
-    systemctl enable --now filebrowser.service &>/dev/null
+    systemctl enable --now -q filebrowser.service
     msg_ok "Created Service"
     msg_ok "Created Service"
 
 
     msg_ok "Completed Successfully!\n"
     msg_ok "Completed Successfully!\n"