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:
parent
c11a296dfa
commit
77cdeaa929
@ -43,7 +43,6 @@ case "$1" in
|
||||
;;
|
||||
restart | force-reload)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
|
@ -36,7 +36,6 @@ case "$1" in
|
||||
;;
|
||||
restart | force-reload)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
if [ "$?" != "0" ]; then
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user