pull/1047/head
tteckster 3 years ago committed by GitHub
parent 88c1490820
commit d4a607cf73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ct/adguard-v5.sh
  2. 4
      ct/alpine-v5.sh
  3. 4
      ct/archlinux-v5.sh
  4. 4
      ct/audiobookshelf-v5.sh
  5. 4
      ct/autobrr-v5.sh
  6. 4
      ct/blocky-v5.sh
  7. 4
      ct/casaos-v5.sh
  8. 4
      ct/changedetection-v5.sh
  9. 6
      ct/cronicle-v5.sh
  10. 4
      ct/daemonsync-v5.sh
  11. 4
      ct/dashy-v5.sh
  12. 4
      ct/debian-v5.sh
  13. 4
      ct/deconz-v5.sh
  14. 4
      ct/deluge-v5.sh
  15. 4
      ct/devuan-v5.sh
  16. 4
      ct/docker-v5.sh
  17. 4
      ct/emby-v5.sh
  18. 4
      ct/emqx-v5.sh
  19. 4
      ct/esphome-v5.sh
  20. 4
      ct/grafana-v5.sh
  21. 4
      ct/grocy-v5.sh
  22. 4
      ct/heimdalldashboard-v5.sh
  23. 6
      ct/homeassistant-core-v5.sh
  24. 6
      ct/homeassistant-v5.sh
  25. 4
      ct/homebridge-v5.sh
  26. 4
      ct/homepage-v5.sh
  27. 4
      ct/homer-v5.sh
  28. 4
      ct/hyperion-v5.sh
  29. 4
      ct/influxdb-v5.sh
  30. 4
      ct/iobroker-v5.sh
  31. 4
      ct/jellyfin-v5.sh
  32. 4
      ct/k0s-v5.sh
  33. 4
      ct/kavita-v5.sh
  34. 4
      ct/keycloak-v5.sh
  35. 4
      ct/lidarr-v5.sh
  36. 4
      ct/magicmirror-v5.sh
  37. 4
      ct/mariadb-v5.sh
  38. 4
      ct/meshcentral-v5.sh
  39. 4
      ct/motioneye-v5.sh
  40. 4
      ct/mqtt-v5.sh
  41. 4
      ct/n8n-v5.sh
  42. 4
      ct/nextcloudpi-v5.sh
  43. 4
      ct/nginxproxymanager-v5.sh
  44. 4
      ct/nocodb-v5.sh
  45. 6
      ct/node-red-v5.sh
  46. 4
      ct/omada-v5.sh
  47. 4
      ct/omv-v5.sh
  48. 4
      ct/openhab-v5.sh
  49. 6
      ct/paperless-ngx-v5.sh
  50. 4
      ct/photoprism-v5.sh
  51. 4
      ct/pihole-v5.sh
  52. 6
      ct/plex-v5.sh
  53. 6
      ct/podman-homeassistant-v5.sh
  54. 4
      ct/podman-v5.sh
  55. 4
      ct/postgresql-v5.sh
  56. 4
      ct/prometheus-v5.sh
  57. 4
      ct/prowlarr-v5.sh
  58. 4
      ct/radarr-v5.sh
  59. 4
      ct/readarr-v5.sh
  60. 4
      ct/rockylinux-v5.sh
  61. 4
      ct/sabnzbd-v5.sh
  62. 4
      ct/scrypted-v5.sh
  63. 4
      ct/shinobi-v5.sh
  64. 4
      ct/sonarr-v5.sh
  65. 4
      ct/syncthing-v5.sh
  66. 4
      ct/tdarr-v5.sh
  67. 4
      ct/technitiumdns-v5.sh
  68. 4
      ct/transmission-v5.sh
  69. 4
      ct/trilium-v5.sh
  70. 4
      ct/ubuntu-v5.sh
  71. 4
      ct/umbrel-v5.sh
  72. 4
      ct/unifi-v5.sh
  73. 4
      ct/uptimekuma-v5.sh
  74. 6
      ct/vaultwarden-v5.sh
  75. 4
      ct/whisparr-v5.sh
  76. 4
      ct/whoogle-v5.sh
  77. 4
      ct/wikijs-v5.sh
  78. 6
      ct/wireguard-v5.sh
  79. 4
      ct/yunohost-v5.sh
  80. 4
      ct/zigbee2mqtt-v5.sh
  81. 4
      ct/zwave-js-ui-v5.sh

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -368,8 +368,8 @@ chmod 775 /etc/init.d/cronicled
update-rc.d cronicled defaults &>/dev/null update-rc.d cronicled defaults &>/dev/null
msg_ok "Installed Cronicle Worker on $hostname" msg_ok "Installed Cronicle Worker on $hostname"
echo -e "\n Add Masters secret key to /opt/cronicle/conf/config.json \n" echo -e "\n Add Masters secret key to /opt/cronicle/conf/config.json \n"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -72,16 +72,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -397,8 +397,8 @@ msg_ok "Created Service"
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "FileBrowser should be reachable by going to the following URL. echo -e "FileBrowser should be reachable by going to the following URL.
${BL}http://$IP:8080${CL} admin|changeme\n" ${BL}http://$IP:8080${CL} admin|changeme\n"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -396,8 +396,8 @@ msg_ok "Created Service"
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "FileBrowser should be reachable by going to the following URL. echo -e "FileBrowser should be reachable by going to the following URL.
${BL}http://$IP:8080${CL} admin|changeme\n" ${BL}http://$IP:8080${CL} admin|changeme\n"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -69,16 +69,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -357,8 +357,8 @@ msg_ok "Installed ${THEME} Theme"
msg_info "Restarting ${APP}" msg_info "Restarting ${APP}"
systemctl restart nodered systemctl restart nodered
msg_ok "Restarted ${APP}" msg_ok "Restarted ${APP}"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -390,8 +390,8 @@ exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then
cat paperless.creds cat paperless.creds
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -342,8 +342,8 @@ exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then
bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)" bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -74,16 +74,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -373,8 +373,8 @@ msg_ok "Created Service"
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "FileBrowser should be reachable by going to the following URL. echo -e "FileBrowser should be reachable by going to the following URL.
${BL}http://$IP:8080${CL} admin|changeme\n" ${BL}http://$IP:8080${CL} admin|changeme\n"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -391,8 +391,8 @@ DIR=/usr/bin/vaultwarden
else else
cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN" cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN"
fi fi
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {
@ -377,8 +377,8 @@ systemctl start wg-dashboard.service &>/dev/null
msg_ok "Created Service" msg_ok "Created Service"
echo -e "WGDashboard should be reachable by going to the following URL. echo -e "WGDashboard should be reachable by going to the following URL.
${BL}http://${IP}:10086${CL} admin|admin \n" ${BL}http://${IP}:10086${CL} admin|admin \n"
fi
exit exit
fi
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -71,16 +71,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

@ -70,16 +70,16 @@ if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
echo -e "Requires PVE Version 7.0 or higher" echo -e "Requires PVE Version 7.0 or higher"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function ARCH_CHECK() { function ARCH_CHECK() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} This script will not work with PiMox! \n"
echo -e "Exiting..." echo -e "Exiting..."
sleep 2 sleep 2
fi
exit exit
fi
} }
function default_settings() { function default_settings() {

Loading…
Cancel
Save