mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
13 lines
230 B
Plaintext
13 lines
230 B
Plaintext
global $config;
|
|
|
|
$config = parse_config(true);
|
|
|
|
unset($config['dhcpd']);
|
|
|
|
echo "Disabling DHCP Server on all interfaces...";
|
|
|
|
write_config("pfSsh.php disabled dhcp on all interfaces");
|
|
|
|
services_dhcpd_configure();
|
|
|
|
echo "done.\n"; |