ps -A | grep /usr/local/sbin/dhcpdkill 'PID'/usr/local/sbin/dhcpd -user dhcpd -group dhcpd -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid
#!/usr/local/bin/php<?phprequire_once("config.inc");require_once("interfaces.inc");require_once("filter.inc");require_once("auth.inc");require_once('rrd.inc');require_once("util.inc");require_once("system.inc");require_once("services.inc");require_once("interfaces.inc");if (count($argv) > 1 && is_numeric($argv[1])) { // starting delayed. sleep($argv[1]);}services_dhcpd_configure('all', array(), true);
<?phprequire_once("config.inc");require_once("interfaces.inc");require_once("filter.inc");require_once("auth.inc");require_once('rrd.inc');require_once("util.inc");require_once("system.inc");require_once("services.inc");require_once("interfaces.inc");if (count($argv) > 1 && is_numeric($argv[1])) { // starting delayed. sleep($argv[1]);}services_dhcpd_configure('all', array(), true);
php 'code.php'