X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=src%2Finitscripts%2Fnetworking%2Fred.up%2F23-suricata;h=1514909ee49b789fd6503e54905ab6b2c31ba818;hp=d8b7a2b8fcad076b13877c72f9621b25aec78f3e;hb=77c07352a58a67e88a507feba982fe0f73518f59;hpb=d215f6e9809e3a7e0b7356c985803291067d923e;ds=sidebyside diff --git a/src/initscripts/networking/red.up/23-suricata b/src/initscripts/networking/red.up/23-suricata index d8b7a2b8fc..1514909ee4 100644 --- a/src/initscripts/networking/red.up/23-suricata +++ b/src/initscripts/networking/red.up/23-suricata @@ -26,5 +26,8 @@ if($ids_settings{'ENABLE_IDS'} eq "on") { if(&IDS::ids_is_running()) { # Call suricatactrl to perform a restart of suricata. &IDS::call_suricatactrl("restart"); + } else { + # Call suricatactrl to start suricata. + &IDS::call_suricatactrl("start"); } }