You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
631 B

  1. From d71ec4f26a1334e78a38fa44a1271c52a029e3b4 Mon Sep 17 00:00:00 2001
  2. From: Noel Kuntze <noel.kuntze@thermi.consulting>
  3. Date: Mon, 12 Jul 2021 01:31:36 +0200
  4. Subject: [PATCH 902/904] ipsec: Patch `ipsec` script to work with musl
  5. `sleep`. Patch taken verbatim from openwrt package sources.
  6. ---
  7. src/ipsec/_ipsec.in | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/src/ipsec/_ipsec.in
  10. +++ b/src/ipsec/_ipsec.in
  11. @@ -257,7 +257,7 @@ stop)
  12. loop=110
  13. while [ $loop -gt 0 ] ; do
  14. kill -0 $spid 2>/dev/null || break
  15. - sleep 0.1 2>/dev/null
  16. + sleep 1 2>/dev/null
  17. if [ $? -ne 0 ]
  18. then
  19. sleep 1