gargoyle
gargoyle copied to clipboard
Manual changes to /etc/hosts are reverted on DHCP > Save Changes
Steps to reproduce issue:
- manually edit the /etc/hosts file via ssh.
- Via web front end Connection > DHCP > Save Changes
- manual changes to /etc/hosts are reverted
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