Added Homer (Dashboard) as an installer option.
Added dependencies for Homer: nginx, unzip.
Opening ports in UFW if Homer is selected.
To do:
Make basic config for Homer and the installer options / services that are selected.
Test this new configuration.
Added Test Vars and enabled these vars for now.
Added extra Whiptail dialogs reflecting the status of the installer.
Fixed typo in HOST setup.
Added Var cleaner removing non AZ-09 characters.
Fixed wireless lan check, enabler and now showing the correct IP address!
Moved the uninstallment of the dphys-swapfile down where all unnecessary packages are removed to streamline the installer.
Removed check if nodered is active and running.
Fixed oopsie, added port 5002 to the UFW. Now ZB2MQTT is available.
Ordered UFW ports from highest to lowest.
Only open UFW ports if the service is selected in the Options menu.
Disabled X11 change in sshd_config
Set the display of the message to insert the Zigbee Dongle to only appear when ZB2MQTT is selected in the options menu.
Added check for compatible Pi's
Added check if Pi 4 but a 2GB or higher model enable mounting /tmp to RAM.
If model is a Pi 4 1GB, 3B of 3B+ RAM mounting /tmp is disabled automaticly.
Added check if Pi 4 but a 2GB or higher model set Log2Ram to 256MB of storage space in RAM.
Otherwise keep it to it's default of 128MB.
Added check if not a Pi 4 series set CPU power to performance so the older architectures can keep up.
Otherwise set CPU power to conservative since the Pi 4's have a newer more effecient and powerfull architecture.
Replaced ordering of variables.
Vars that won't change color or after rebooting are now static.
Vars that can change are added to the end of the script , this makes "reloading" the script much faster since the variables are now "prepared" for the next run.
Fixed oopsie in services, Offline tags stil had the old "stat" behind the service names.
Added check if var $DATE is empty do not display it onscreen.
Change UFW check behaviour, if UWF is not yet installed the var $UFW will be empty,
this sets the script to declare the UFW as inactive.
Added check if var $IP is empty do not display the available ports services run on since they won't be reachable.