From: Michael Tremer Date: Fri, 7 Nov 2025 14:39:27 +0000 (+0000) Subject: initscripts: dhcp: Tolerate running other dhcp servers X-Git-Tag: v2.29-core199~17^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253bd31530838583238fc7ebb13d7db0e7540e52;p=ipfire-2.x.git initscripts: dhcp: Tolerate running other dhcp servers Some users have been trying to run multiple instances of the DHCP server and restarting the main server won't work because the initscript refuses to launch the process if there is another one with the same command. Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/dhcp b/src/initscripts/system/dhcp index 826cd2dfe..05c809cab 100644 --- a/src/initscripts/system/dhcp +++ b/src/initscripts/system/dhcp @@ -52,7 +52,7 @@ case "$1" in fi boot_mesg "Starting DHCP Server..." - loadproc /usr/sbin/dhcpd -q ${LISTEN_INTERFACES} + loadproc -f /usr/sbin/dhcpd -q ${LISTEN_INTERFACES} # Start Unbound DHCP Lease Bridge unless RFC2136 is used if [ "${DNS_UPDATE_ENABLED}" != on ]; then