From e60d1ff5a8c1c1b5070406e45f6bf67bb5b88102 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 13:46:49 -0400 Subject: [PATCH 01/26] Update debian.sh --- ct/debian.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/debian.sh b/ct/debian.sh index ebd9f482..fc7f98d4 100644 --- a/ct/debian.sh +++ b/ct/debian.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 51e88181a5023ce3827ecd59cb54b60686e39e3f Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 13:51:10 -0400 Subject: [PATCH 02/26] Update adguard.sh --- ct/adguard.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/adguard.sh b/ct/adguard.sh index ac8278f8..9838585b 100644 --- a/ct/adguard.sh +++ b/ct/adguard.sh @@ -43,11 +43,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -71,7 +68,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -87,11 +83,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -115,7 +108,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -132,11 +124,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -160,7 +149,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 4f1d1a55fa607c65602fd1eaf21d686f7f162145 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 13:54:49 -0400 Subject: [PATCH 03/26] Update daemonsync.sh --- ct/daemonsync.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/daemonsync.sh b/ct/daemonsync.sh index c6403ba5..5b47dfa6 100644 --- a/ct/daemonsync.sh +++ b/ct/daemonsync.sh @@ -41,11 +41,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -69,7 +66,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -85,11 +81,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -113,7 +106,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -130,11 +122,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -158,7 +147,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From a1017df339eca804ae25d720bc0fa352a826376f Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 13:56:14 -0400 Subject: [PATCH 04/26] Update dashy.sh --- ct/dashy.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/dashy.sh b/ct/dashy.sh index fc62084b..49e63390 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From d5683cb35ddb41970b079d33407d09c6e19cd922 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 13:57:56 -0400 Subject: [PATCH 05/26] Update docker.sh --- ct/docker.sh | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/ct/docker.sh b/ct/docker.sh index b1ad914a..43ceb81b 100644 --- a/ct/docker.sh +++ b/ct/docker.sh @@ -39,11 +39,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -67,7 +64,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -83,11 +79,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -111,7 +104,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${RD} If Using ZFS, You Have Storage Driver Options${CL}\n" @@ -130,11 +122,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -158,7 +147,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done show_menu4(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -176,11 +164,8 @@ option_picked(){ printf " ${YW}${message4}${CL}\n" } show_menu4 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -204,7 +189,6 @@ while [ $opt != '' ] show_menu4; ;; esac - fi done set -o errexit From e3f2ac13d03dc21b40ab66e4e1926d13e0e20ae6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:05:20 -0400 Subject: [PATCH 06/26] Update esphome.sh --- ct/esphome.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/esphome.sh b/ct/esphome.sh index 06f9d513..8fcbf29b 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From d0d2d5e6b7870d3892ecf09233f843082d2ead56 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:06:57 -0400 Subject: [PATCH 07/26] Update grafana.sh --- ct/grafana.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/grafana.sh b/ct/grafana.sh index 0e7244df..04d65207 100644 --- a/ct/grafana.sh +++ b/ct/grafana.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 33ec3d13c37c77acf86fa6667e130a0134432f87 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:10:27 -0400 Subject: [PATCH 08/26] Update homeassistant.sh --- ct/homeassistant.sh | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/ct/homeassistant.sh b/ct/homeassistant.sh index e25ce4d5..938b6921 100644 --- a/ct/homeassistant.sh +++ b/ct/homeassistant.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${RD} If Using ZFS, You Have Storage Driver Options${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done show_menu4(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -177,11 +165,8 @@ option_picked(){ printf " ${YW}${message4}${CL}\n" } show_menu4 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -205,7 +190,6 @@ while [ $opt != '' ] show_menu4; ;; esac - fi done set -o errexit From 4c055c172ca94486e398ebf90ff6830e63fc84ac Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:11:38 -0400 Subject: [PATCH 09/26] Update homebridge.sh --- ct/homebridge.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/homebridge.sh b/ct/homebridge.sh index 8f6eb118..3e045697 100644 --- a/ct/homebridge.sh +++ b/ct/homebridge.sh @@ -39,11 +39,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -67,7 +64,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -83,11 +79,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -111,7 +104,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -128,11 +120,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -156,7 +145,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From e8a345ad0f27abb6593955d0d761867b2c44c260 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:13:01 -0400 Subject: [PATCH 10/26] Update influxdb.sh --- ct/influxdb.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/influxdb.sh b/ct/influxdb.sh index 119d2a4e..0d9e113c 100644 --- a/ct/influxdb.sh +++ b/ct/influxdb.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From dc94e229322cf04612f9294d3f882290a075fc03 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:14:13 -0400 Subject: [PATCH 11/26] Update mariadb.sh --- ct/mariadb.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/mariadb.sh b/ct/mariadb.sh index 73e2134a..233296d4 100644 --- a/ct/mariadb.sh +++ b/ct/mariadb.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 9a061db4c51928bb79f0cb0bc9c368b5a1621e89 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:15:27 -0400 Subject: [PATCH 12/26] Update motioneye.sh --- ct/motioneye.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/motioneye.sh b/ct/motioneye.sh index 92894a21..0c3449b3 100644 --- a/ct/motioneye.sh +++ b/ct/motioneye.sh @@ -41,11 +41,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -69,7 +66,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -85,11 +81,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -113,7 +106,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -130,11 +122,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -158,7 +147,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 455b3d50640ea297af54d5cec280890bfb4227bd Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:16:50 -0400 Subject: [PATCH 13/26] Update mqtt.sh --- ct/mqtt.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/mqtt.sh b/ct/mqtt.sh index 254f4619..7bd70ed0 100644 --- a/ct/mqtt.sh +++ b/ct/mqtt.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From a7b3c581962b1d44651eec0012f1eaf21dc57699 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:18:24 -0400 Subject: [PATCH 14/26] Update nginx-proxy-manager.sh --- ct/nginx-proxy-manager.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/nginx-proxy-manager.sh b/ct/nginx-proxy-manager.sh index 670cbdcd..2b147d60 100644 --- a/ct/nginx-proxy-manager.sh +++ b/ct/nginx-proxy-manager.sh @@ -39,11 +39,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -67,7 +64,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -83,11 +79,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -111,7 +104,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -128,11 +120,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -156,7 +145,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 5fee6bfc0071dd19753d6654278bbde5b49e37b2 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:19:38 -0400 Subject: [PATCH 15/26] Update node-red.sh --- ct/node-red.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/node-red.sh b/ct/node-red.sh index 504ddc71..9ecc7d17 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 440a4933cee7713c4ba88216fe0d280d5bf9fdbc Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:20:53 -0400 Subject: [PATCH 16/26] Update omada.sh --- ct/omada.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/omada.sh b/ct/omada.sh index af8e3b65..6ec8036b 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From b7c9ce46d0db6d51b3468be00f2d02c11590de88 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:22:05 -0400 Subject: [PATCH 17/26] Update photoprism.sh --- ct/photoprism.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/photoprism.sh b/ct/photoprism.sh index 076aefef..31035d89 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 4a234005268ba74c23c96196d6843cb42cc24939 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:26:33 -0400 Subject: [PATCH 18/26] Update pihole.sh --- ct/pihole.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/pihole.sh b/ct/pihole.sh index 2667f184..9a0abcdd 100644 --- a/ct/pihole.sh +++ b/ct/pihole.sh @@ -41,11 +41,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -69,7 +66,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -85,11 +81,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -113,7 +106,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -130,11 +122,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -158,7 +147,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 70dc875f565e1bb80de849531526c11cf1c5f647 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:27:44 -0400 Subject: [PATCH 19/26] Update technitiumdns.sh --- ct/technitiumdns.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/technitiumdns.sh b/ct/technitiumdns.sh index 15ffdf42..2d960480 100644 --- a/ct/technitiumdns.sh +++ b/ct/technitiumdns.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 5bd16f8c63b16996fe9733b373953d02d9a38226 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:28:56 -0400 Subject: [PATCH 20/26] Update ubuntu.sh --- ct/ubuntu.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/ubuntu.sh b/ct/ubuntu.sh index d24150a7..4152e1d0 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 3bee43b1c03d741d358e32894d9d7d7a5b835814 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:30:02 -0400 Subject: [PATCH 21/26] Update unifi.sh --- ct/unifi.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/unifi.sh b/ct/unifi.sh index 6b485dd6..077f3cc1 100644 --- a/ct/unifi.sh +++ b/ct/unifi.sh @@ -41,11 +41,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -69,7 +66,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -85,11 +81,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -113,7 +106,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -130,11 +122,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -158,7 +147,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From a2783a03226541660ae2c10ff8892c79169b51a0 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:31:18 -0400 Subject: [PATCH 22/26] Update vaultwarden.sh --- ct/vaultwarden.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index 6e8c43b7..fe16570c 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 0a54b61683c345a8f5e0b17e419b7602c5408ac1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:32:27 -0400 Subject: [PATCH 23/26] Update wireguard.sh --- ct/wireguard.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/wireguard.sh b/ct/wireguard.sh index e6774094..7137c4d3 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -40,11 +40,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -68,7 +65,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -84,11 +80,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -112,7 +105,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -129,11 +121,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -157,7 +146,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 987280d1e5b7ec20ffbcd24e59150c70e80a74f8 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:33:36 -0400 Subject: [PATCH 24/26] Update zigbee2mqtt.sh --- ct/zigbee2mqtt.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index 9d0edba5..f4a0c0fd 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From 9c7aaa6ba102ad96d460b8dd3116c721e59ba1d7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:34:53 -0400 Subject: [PATCH 25/26] Update zwavejs2mqtt.sh --- ct/zwavejs2mqtt.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/zwavejs2mqtt.sh b/ct/zwavejs2mqtt.sh index 65034e6c..72669df9 100644 --- a/ct/zwavejs2mqtt.sh +++ b/ct/zwavejs2mqtt.sh @@ -43,11 +43,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -71,7 +68,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -87,11 +83,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -115,7 +108,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -132,11 +124,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -160,7 +149,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit From e2e7357c604e9ad90ad8016f8ad66b16919b24a9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Apr 2022 14:37:35 -0400 Subject: [PATCH 26/26] Update heimdalldashboard.sh --- ct/heimdalldashboard.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/ct/heimdalldashboard.sh b/ct/heimdalldashboard.sh index fac092ed..1a60e74c 100644 --- a/ct/heimdalldashboard.sh +++ b/ct/heimdalldashboard.sh @@ -42,11 +42,8 @@ option_picked(){ printf " ${YW}${message1}${CL}\n" } show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -70,7 +67,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done show_menu2(){ printf " ${YW} 1)${GN} Use Automatic Login ${CL}\n" @@ -86,11 +82,8 @@ option_picked(){ printf " ${YW}${message2}${CL}\n" } show_menu2 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -114,7 +107,6 @@ while [ $opt != '' ] show_menu2; ;; esac - fi done show_menu3(){ printf " ${YW} 1)${GN} Automatic DHCP ${CL}\n" @@ -131,11 +123,8 @@ option_picked(){ printf " ${YW}${message3}${CL}\n" } show_menu3 -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; header_info; @@ -159,7 +148,6 @@ while [ $opt != '' ] show_menu3; ;; esac - fi done set -o errexit