diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-24 07:10:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 07:10:47 +0100 |
commit | acb9815216dfe48c9d8684056381d9cd7b10fee0 (patch) | |
tree | 9c011c37f08d2ed747b10ef90198103e07dd38da /src/etc/init.d/isc-dhcpv4-server | |
parent | 92e6efeec0e46570daacd5d96e754a3c89868e0b (diff) | |
parent | 8f39784c847801c0b766a0c9289da0976ffd0604 (diff) | |
download | vyos-1x-acb9815216dfe48c9d8684056381d9cd7b10fee0.tar.gz vyos-1x-acb9815216dfe48c9d8684056381d9cd7b10fee0.zip |
Merge pull request #261 from thomas-mangin/2154
ethernet: T2154: do not report errors where none are
Diffstat (limited to 'src/etc/init.d/isc-dhcpv4-server')
-rwxr-xr-x | src/etc/init.d/isc-dhcpv4-server | 4 |
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" ;; |