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>
This commit is contained in:
Benoît Thébaudeau 2015-10-25 02:59:34 +02:00 committed by Thomas Petazzoni
parent c11a296dfa
commit 77cdeaa929
2 changed files with 0 additions and 2 deletions

View File

@ -43,7 +43,6 @@ case "$1" in
;;
restart | force-reload)
$0 stop
sleep 2
$0 start
;;
*)

View File

@ -36,7 +36,6 @@ case "$1" in
;;
restart | force-reload)
$0 stop
sleep 2
$0 start
if [ "$?" != "0" ]; then
exit 1