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.
Fixed errors in CLI when using sudo, now this script also updates /etc/hosts to reflect the new set Hostname
Added Pi Optimizations:
Reduce GPU_Mem
Moved /tmp to RAM
Added Log2Ram
Set CPU Governer to conservative