This commit is contained in:
tteckster 2023-02-12 04:41:53 -05:00 committed by GitHub
parent 88c1490820
commit d4a607cf73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
81 changed files with 171 additions and 171 deletions

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {