I’d like to add some custom dhcpd.conf options, but how do I get the dhcpd to reread the changes?
I can copy over a custom file to /var/register/system/dhcp/dhcpd.conf with a post-boot script but by then, the dhcp server has been started. If I disable/re-enable the dhcp server it overwrites the changes.
Yes, that’s where I’ve been looking to put it, but the script file is slightly complicated to decipher… all just to add two lines to a subnet declaration ( next-server a.b.c.d;
filename “pxelinux.0”;
)
Got it working. Added an additional variable in that file to read in an additional file that had the pxe boot specifications.
It seems that adding a blanket “additional DHCP subnet options” to the GUI wouldn’t be hard if another variable was added in a similar fashion that just read in a ‘misc’ file.
Yes, it would be a good idea add an optional dhcp options.
Until it will, I’ve added this code in /root/kerbynet.cgi/scripts/dhcpd_configfile in line 115:
It will reset it, you have to make the changes permanent by running a pre-boot script. You can save the file you will use for the change somewhere in /Database .