How to check the syntax of a =dhcpd.conf= file

Sometimes it is very usefull to check the syntax befor just make a killall -HUP.

dhcpd -t -cf /path/to/dhcpd.conf

does the job

In a script you would like to use

dhcpd -t -cf /path/to/dhcpd.conf && killall -HUP dhcpd