suricata-emergingthreats-rules: add delay to fix startup

parent 176099de
......@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=suricata-emergingthreats-rules
PKG_VERSION:=5
PKG_VERSION:=6
include $(INCLUDE_DIR)/package.mk
......
......@@ -21,6 +21,7 @@ reload_suricata() {
}
if [ ! -f "$RULES_MD5_FILE" ] || [ "$(cat $RULES_MD5_FILE)" != "$(curl -s $RULES_MD5_URL)" ]; then
sleep 20
download_rules
reload_suricata
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment