summaryrefslogtreecommitdiff
path: root/src/etc/init.d/isc-dhcpv4-server
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-03-23 22:47:19 +0000
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-03-23 23:04:18 +0000
commit8f39784c847801c0b766a0c9289da0976ffd0604 (patch)
treef99c84bbf2a78aa3e9278f276a18336cad047520 /src/etc/init.d/isc-dhcpv4-server
parent71561a27a0338cba7c54ea8ae9bf14b75006ddbd (diff)
downloadvyos-1x-8f39784c847801c0b766a0c9289da0976ffd0604.tar.gz
vyos-1x-8f39784c847801c0b766a0c9289da0976ffd0604.zip
ifconfig: T2154: fixing failure to start-stop-daemon
Diffstat (limited to 'src/etc/init.d/isc-dhcpv4-server')
-rwxr-xr-xsrc/etc/init.d/isc-dhcpv4-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/init.d/isc-dhcpv4-server b/src/etc/init.d/isc-dhcpv4-server
index 377634a13..94a1020ac 100755
--- a/src/etc/init.d/isc-dhcpv4-server
+++ b/src/etc/init.d/isc-dhcpv4-server
@@ -72,7 +72,7 @@ case "$1" in
start)
test_config
log_daemon_msg "Starting $DESC" "$NAME"
- start-stop-daemon --start --quiet --pidfile "$DHCPD_PID" \
+ start-stop-daemon --start --oknodo --quiet --pidfile "$DHCPD_PID" \
--exec /usr/sbin/dhcpd -- \
-q $OPTIONS -cf "$DHCPD_CONF" -pf "$DHCPD_PID" $INTERFACES
sleep 2
@@ -87,7 +87,7 @@ case "$1" in
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
- start-stop-daemon --stop --quiet --pidfile "$DHCPD_PID"
+ start-stop-daemon --stop --oknodo --quiet --pidfile "$DHCPD_PID"
log_end_msg $?
rm -f "$DHCPD_PID"
;;