Enabled Test Vars.
Added static core count var.
Removed MQTT-Broker from the installer options to choose from and added the mosquitto packages permanently to the requirements of Node-RED and Zigbee2MQTT.
Fixed check if Node-RED won't be installed to manually install Node with Zigbee2MQTT.
Fixed error where build dependencies for rsync where not added to the install.list.
Added rsync to build from source instead of using the outdated repo.
Added extra dialogs to show what the system currently is doing, installing or configuring.
Fixed Nginx failing to start after a reboot.
Added dialog when Domoticz is going to be installed to select the update button.
Added UFW rules for mosquitto when Zigbee2MQTT is installed (need to do this for Node-RED too in the future).
Added SED to change the IP addresses in Homer to link from the template holder to the correct address of the services installed.
Moved the uninstall portion of packages to the end of the installer so cleaning up of the build tools used by rsync is possible.
Added Test Variables to skip Homer dialogs.
Added check if skip options or skip homer is enabled, if yes then set variables.
Fixed Nginx error because /var/log/nginx/ does not exist.
Enabled Nginx --now to create default config, removing it immediately.
Stopping Nginx to overwrite configs and work in the /var/www/ directory.
Added SED for Homer when ISP is configured to change the name and logo to the provider set in the dialog options.
Fixed dialog for Zigbee2MQTT USB stick not showing at the end of the installer when Homer is the selected dashboard,
the dialog now always shows when Zigbee2MQTT is enabled in the installer options.
Turned off SKIPoptions in Test Vars to do a full installer run.
Added Homer in Test Vars.
Added Homer ISP Dialog.
Removed old fkms overlay for the Pi 4.
Changed nginx enable --now to nginx enable.
Added configurtion options for Homer.
Checks if ISP has been set and what services are active and installed.
Changed ending dialogs if Homer is installed to redirect to the Homer IP
instead of showing all dialogs for active and installed services and ports.
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.