Open bbecker-inlogik opened 4 months ago
Thanks for reporting, I will consider a fix. We do place local host information in there intentionally so there is still a requirement.
Perhaps rather than clearing the file, it could append the localhost lines only if they are are missing.
Steps to reproduce issue:
The createHostCommands variable should be removed completely, since DHCP configuration no longer lives in /etc/hosts there is no need to revert this file to factory setting.
https://github.com/ericpaulbishop/gargoyle/blob/ae547ce5113ce1c6e260112bcdcab9f41e3e7ab8/package/gargoyle/files/www/js/dhcp.js#L105