<div dir="ltr"><div class="gmail_quote"><div>Why are you compiling from source, your distro has a package for this, which includes the init script. Since you mentioned centos, the package is 'dhcp':</div><div><br></div><div><font face="courier new, monospace">user@host~: yum info dhcp<br>Loaded plugins: fastestmirror<br>Loading mirror speeds from cached hostfile<br> * base: <a href="http://mirror.genesisadaptive.com">mirror.genesisadaptive.com</a><br> * epel: <a href="http://mirrors.rit.edu">mirrors.rit.edu</a><br> * extras: <a href="http://centos.s.uw.edu">centos.s.uw.edu</a><br> * updates: <a href="http://centos.mirrors.tds.net">centos.mirrors.tds.net</a><br>Available Packages<br>Name        : dhcp<br>Arch        : x86_64<br>Epoch       : 12<br>Version     : 4.2.5<br>Release     : 68.el7.centos.1<br>Size        : 513 k<br>Repo        : base/7/x86_64<br>Summary     : Dynamic host configuration protocol software<br>URL         : <a href="http://isc.org/products/DHCP/">http://isc.org/products/DHCP/</a><br>License     : ISC<br>Description : DHCP (Dynamic Host Configuration Protocol) is a protocol which allows<br>            : individual devices on an IP network to get their own network<br>            : configuration information (IP address, subnetmask, broadcast address,<br>            : etc.) from a DHCP server. The overall purpose of DHCP is to make it<br>            : easier to administer a large network.<br>            : <br>            : To use DHCP on your network, install a DHCP service (or relay agent),<br>            : and on clients run a DHCP client daemon.  The dhcp package provides<br>            : the ISC DHCP service and relay agent.</font><br></div><div><br></div><div>Source compiles typically do not include init scripts. You should only be compiling from source if you have a specific need that the binary package can't or doesn't address.</div><div><br></div></div></div>