* [Buildroot] [git commit] package/dhcp: remove sleep from SysV init scripts restart
@ 2015-12-24 14:06 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2015-12-24 14:06 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=77cdeaa929d88b9b1736ee503c3f647f967791a9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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>
---
package/dhcp/S80dhcp-relay | 1 -
package/dhcp/S80dhcp-server | 1 -
2 files changed, 2 deletions(-)
diff --git a/package/dhcp/S80dhcp-relay b/package/dhcp/S80dhcp-relay
index 6493eda..211431b 100755
--- a/package/dhcp/S80dhcp-relay
+++ b/package/dhcp/S80dhcp-relay
@@ -43,7 +43,6 @@ case "$1" in
;;
restart | force-reload)
$0 stop
- sleep 2
$0 start
;;
*)
diff --git a/package/dhcp/S80dhcp-server b/package/dhcp/S80dhcp-server
index f4e2209..21092ba 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-24 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-24 14:06 [Buildroot] [git commit] package/dhcp: remove sleep from SysV init scripts restart Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.