如何停止 dhcpd?

如何停止 dhcpd?

我正在尝试停止 dhcpd,但每当我停止它时,它都会立即重新启动。

$ ps aux | grep dhcp
dhcpd     7116  0.0  0.1  19672  6604 ?        Ss    16:33   0:00
dhcpd -user dhcpd -group dhcpd -f -q -4 -pf 
/run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf wlan0

我试过

/etc/init.d/dhcpd stop

但没有运气

bash: /etc/init.d/dhcpd: No such file or directory

service dhcpd stop

给了我这个

dhcpd: unrecognized service

相关内容