summaryrefslogtreecommitdiffstats
path: root/package/dhcp/S80dhcp-server
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit@wsystem.com>2015-10-25 02:59:34 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-24 15:06:47 +0100
commit77cdeaa929d88b9b1736ee503c3f647f967791a9 (patch)
treef85ef06d604ebbfe816b8d9a466b8366b98f5015 /package/dhcp/S80dhcp-server
parentc11a296dfabb52d32158158782c4da023042763a (diff)
downloadbuildroot-77cdeaa929d88b9b1736ee503c3f647f967791a9.tar.gz
buildroot-77cdeaa929d88b9b1736ee503c3f647f967791a9.zip
package/dhcp: remove sleep from SysV init scripts restart
No sleep is required for the restart and force-reload operations to succeed. Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcp/S80dhcp-server')
-rwxr-xr-xpackage/dhcp/S80dhcp-server1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/dhcp/S80dhcp-server b/package/dhcp/S80dhcp-server
index f4e220986f..21092bab9f 100755
--- a/package/dhcp/S80dhcp-server
+++ b/package/dhcp/S80dhcp-server
@@ -36,7 +36,6 @@ case "$1" in
;;
restart | force-reload)
$0 stop
- sleep 2
$0 start
if [ "$?" != "0" ]; then
exit 1
OpenPOWER on IntegriCloud