Issue Description:
The script has encountered an error on fresh Debian 12.5 installations due to an incomplete PATH variable. Specifically, the script requires access to directories /sbin, /usb/sbin, and /usr/local/sbin, which were not included in the default PATH configuration.
Proposed Solution:
To resolve this issue, I've added the required directories to the PATH variable before starting the script. By including /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, and /bin in the PATH, we ensure compatibility with Debian 12.5 installations and allow the script to locate essential executables.
Changes Made:
Modified the script to export the PATH variable with the necessary directories appended before executing any commands.
Tested the script on a Debian 12.5 environment to verify compatibility and functionality.
Feel free to adjust or expand upon this description as needed to provide additional context or details about your changes.
Issue Description: The script has encountered an error on fresh Debian 12.5 installations due to an incomplete PATH variable. Specifically, the script requires access to directories /sbin, /usb/sbin, and /usr/local/sbin, which were not included in the default PATH configuration. Proposed Solution: To resolve this issue, I've added the required directories to the PATH variable before starting the script. By including /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, and /bin in the PATH, we ensure compatibility with Debian 12.5 installations and allow the script to locate essential executables. Changes Made: Modified the script to export the PATH variable with the necessary directories appended before executing any commands. Tested the script on a Debian 12.5 environment to verify compatibility and functionality.
Feel free to adjust or expand upon this description as needed to provide additional context or details about your changes.