From: Stefan Schantl Date: Mon, 25 Apr 2022 18:12:19 +0000 (+0200) Subject: convert-ids-backend-files: Wait until suricata has stopped sucessfully. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=249d796b4b873fde6e4bf270b7028afe8073abc2;p=people%2Fstevee%2Fipfire-2.x.git convert-ids-backend-files: Wait until suricata has stopped sucessfully. Signed-off-by: Stefan Schantl --- diff --git a/config/suricata/convert-ids-backend-files b/config/suricata/convert-ids-backend-files index 55c3afbf89..6143073809 100644 --- a/config/suricata/convert-ids-backend-files +++ b/config/suricata/convert-ids-backend-files @@ -58,6 +58,9 @@ if(&IDS::ids_is_running()) { # Set start_suricata to true to start it # at the end of the script again. $start_suricata = "1"; + + # Wait until suricata has stopped. + sleep 1 while (-f $IDS::idspidfile); } #