瀏覽代碼

Optimizing code

tteckster 2 年之前
父節點
當前提交
3b2c81cf1c
共有 92 個文件被更改,包括 1 次插入91 次删除
  1. 0 1
      ct/adguard.sh
  2. 0 1
      ct/alpine-adguard.sh
  3. 0 1
      ct/alpine-docker.sh
  4. 0 1
      ct/alpine-grafana.sh
  5. 0 1
      ct/alpine-vaultwarden.sh
  6. 0 1
      ct/alpine-whoogle.sh
  7. 0 1
      ct/alpine-zigbee2mqtt.sh
  8. 0 1
      ct/alpine.sh
  9. 0 1
      ct/audiobookshelf.sh
  10. 0 1
      ct/autobrr.sh
  11. 0 1
      ct/blocky.sh
  12. 0 1
      ct/casaos.sh
  13. 0 1
      ct/changedetection.sh
  14. 0 1
      ct/cronicle.sh
  15. 0 1
      ct/daemonsync.sh
  16. 0 1
      ct/dashy.sh
  17. 0 1
      ct/debian.sh
  18. 0 1
      ct/deconz.sh
  19. 0 1
      ct/deluge.sh
  20. 0 1
      ct/devuan.sh
  21. 0 1
      ct/docker.sh
  22. 0 1
      ct/emby.sh
  23. 0 1
      ct/emqx.sh
  24. 0 1
      ct/esphome.sh
  25. 0 1
      ct/go2rtc.sh
  26. 0 1
      ct/grafana.sh
  27. 0 1
      ct/grocy.sh
  28. 0 1
      ct/heimdalldashboard.sh
  29. 0 1
      ct/homeassistant-core.sh
  30. 0 1
      ct/homeassistant.sh
  31. 0 1
      ct/homebridge.sh
  32. 0 1
      ct/homepage.sh
  33. 0 1
      ct/homer.sh
  34. 0 1
      ct/hyperion.sh
  35. 0 1
      ct/influxdb.sh
  36. 0 1
      ct/iobroker.sh
  37. 0 1
      ct/jackett.sh
  38. 0 1
      ct/jellyfin.sh
  39. 0 1
      ct/k0s.sh
  40. 0 1
      ct/kavita.sh
  41. 0 1
      ct/keycloak.sh
  42. 0 1
      ct/lidarr.sh
  43. 0 1
      ct/magicmirror.sh
  44. 0 1
      ct/mariadb.sh
  45. 0 1
      ct/meshcentral.sh
  46. 0 1
      ct/motioneye.sh
  47. 0 1
      ct/mqtt.sh
  48. 0 1
      ct/n8n.sh
  49. 0 1
      ct/navidrome.sh
  50. 0 1
      ct/nextcloudpi.sh
  51. 0 1
      ct/nginxproxymanager.sh
  52. 0 1
      ct/nocodb.sh
  53. 0 1
      ct/node-red.sh
  54. 0 1
      ct/omada.sh
  55. 0 1
      ct/omv.sh
  56. 0 1
      ct/openhab.sh
  57. 0 1
      ct/paperless-ngx.sh
  58. 0 1
      ct/photoprism.sh
  59. 0 1
      ct/pihole.sh
  60. 0 1
      ct/plex.sh
  61. 0 1
      ct/podman-homeassistant.sh
  62. 0 1
      ct/podman.sh
  63. 0 1
      ct/postgresql.sh
  64. 0 1
      ct/prometheus.sh
  65. 0 1
      ct/prowlarr.sh
  66. 0 1
      ct/qbittorrent.sh
  67. 0 1
      ct/radarr.sh
  68. 0 1
      ct/readarr.sh
  69. 0 1
      ct/rockylinux.sh
  70. 0 1
      ct/rstptoweb.sh
  71. 0 1
      ct/sabnzbd.sh
  72. 0 1
      ct/scrypted.sh
  73. 0 1
      ct/shinobi.sh
  74. 0 1
      ct/sonarr.sh
  75. 0 1
      ct/syncthing.sh
  76. 0 1
      ct/tdarr.sh
  77. 0 1
      ct/technitiumdns.sh
  78. 0 1
      ct/transmission.sh
  79. 0 1
      ct/trilium.sh
  80. 0 1
      ct/ubuntu.sh
  81. 0 1
      ct/umbrel.sh
  82. 0 1
      ct/unifi.sh
  83. 0 1
      ct/uptimekuma.sh
  84. 0 1
      ct/vaultwarden.sh
  85. 0 1
      ct/whisparr.sh
  86. 0 1
      ct/whoogle.sh
  87. 0 1
      ct/wikijs.sh
  88. 0 1
      ct/wireguard.sh
  89. 0 1
      ct/yunohost.sh
  90. 0 1
      ct/zigbee2mqtt.sh
  91. 0 1
      ct/zwave-js-ui.sh
  92. 1 0
      misc/build.func

+ 0 - 1
ct/adguard.sh

@@ -78,7 +78,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine-adguard.sh

@@ -81,7 +81,6 @@ function update_script() {
   done
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine-docker.sh

@@ -75,7 +75,6 @@ function update_script() {
   done
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine-grafana.sh

@@ -88,7 +88,6 @@ function update_script() {
   done
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine-vaultwarden.sh

@@ -81,7 +81,6 @@ function update_script() {
   done
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine-whoogle.sh

@@ -79,7 +79,6 @@ function update_script() {
   done
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine-zigbee2mqtt.sh

@@ -75,7 +75,6 @@ function update_script() {
   done
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/alpine.sh

@@ -63,7 +63,6 @@ exit;
 fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/audiobookshelf.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/autobrr.sh

@@ -71,7 +71,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/blocky.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/casaos.sh

@@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/changedetection.sh

@@ -60,7 +60,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/cronicle.sh

@@ -100,7 +100,6 @@ exit
 fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/daemonsync.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/dashy.sh

@@ -86,7 +86,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/debian.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/deconz.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/deluge.sh

@@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/devuan.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/docker.sh

@@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/emby.sh

@@ -71,7 +71,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/emqx.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/esphome.sh

@@ -68,7 +68,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/go2rtc.sh

@@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/grafana.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/grocy.sh

@@ -60,7 +60,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/heimdalldashboard.sh

@@ -140,7 +140,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/homeassistant-core.sh

@@ -207,7 +207,6 @@ EOF
   fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/homeassistant.sh

@@ -128,7 +128,6 @@ WantedBy=default.target" >$service_path
   fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/homebridge.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/homepage.sh

@@ -67,7 +67,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/homer.sh

@@ -84,7 +84,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/hyperion.sh

@@ -62,7 +62,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/influxdb.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/iobroker.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/jackett.sh

@@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/jellyfin.sh

@@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/k0s.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/kavita.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/keycloak.sh

@@ -62,7 +62,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/lidarr.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/magicmirror.sh

@@ -63,7 +63,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/mariadb.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/meshcentral.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/motioneye.sh

@@ -60,7 +60,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/mqtt.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/n8n.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/navidrome.sh

@@ -71,7 +71,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/nextcloudpi.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/nginxproxymanager.sh

@@ -172,7 +172,6 @@ EOF
   exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/nocodb.sh

@@ -63,7 +63,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/node-red.sh

@@ -96,7 +96,6 @@ exit
 fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/omada.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/omv.sh

@@ -62,7 +62,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/openhab.sh

@@ -62,7 +62,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/paperless-ngx.sh

@@ -132,7 +132,6 @@ EOF
   fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/photoprism.sh

@@ -86,7 +86,6 @@ function update_script() {
   exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/pihole.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/plex.sh

@@ -71,7 +71,6 @@ exit
 fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/podman-homeassistant.sh

@@ -111,7 +111,6 @@ exit
 fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/podman.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/postgresql.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/prometheus.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/prowlarr.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/qbittorrent.sh

@@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/radarr.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/readarr.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/rockylinux.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/rstptoweb.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/sabnzbd.sh

@@ -66,7 +66,6 @@ msg_ok "Updated $APP"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/scrypted.sh

@@ -62,7 +62,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/shinobi.sh

@@ -64,7 +64,6 @@ msg_ok "Updated Shinobi LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/sonarr.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/syncthing.sh

@@ -62,7 +62,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/tdarr.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/technitiumdns.sh

@@ -70,7 +70,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/transmission.sh

@@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/trilium.sh

@@ -80,7 +80,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/ubuntu.sh

@@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/umbrel.sh

@@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/unifi.sh

@@ -61,7 +61,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/uptimekuma.sh

@@ -78,7 +78,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/vaultwarden.sh

@@ -131,7 +131,6 @@ function update_script() {
   fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/whisparr.sh

@@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/whoogle.sh

@@ -60,7 +60,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/wikijs.sh

@@ -83,7 +83,6 @@ msg_ok "Update Successfull"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/wireguard.sh

@@ -115,7 +115,6 @@ exit
 fi
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/yunohost.sh

@@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
 exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/zigbee2mqtt.sh

@@ -126,7 +126,6 @@ function update_script() {
   exit
 }
 
-ssh_check
 start
 build_container
 description

+ 0 - 1
ct/zwave-js-ui.sh

@@ -78,7 +78,6 @@ function update_script() {
   exit
 }
 
-ssh_check
 start
 build_container
 description

+ 1 - 0
misc/build.func

@@ -342,6 +342,7 @@ advanced_settings() {
 }
 
 install_script() {
+  ssh_check
   arch_check
   pve_check
   NEXTID=$(pvesh get /cluster/nextid)