gargoyle icon indicating copy to clipboard operation
gargoyle copied to clipboard

Manual changes to /etc/hosts are reverted on DHCP > Save Changes

Open bbecker-inlogik opened this issue 6 months ago • 2 comments

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

bbecker-inlogik avatar Jul 29 '24 06:07 bbecker-inlogik