Browse Source

snort: set configuration file path in init script

Signed-off-by: W. Michael Petullo <mike@flyn.org>
lilik-openwrt-22.03
W. Michael Petullo 7 years ago
parent
commit
5acb617137
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/snort/files/snort.init

+ 1
- 1
net/snort/files/snort.init View File

@ -22,7 +22,7 @@ start_service() {
} }
procd_open_instance procd_open_instance
procd_set_param command $PROG "-q" "--daq-dir" "/usr/lib/daq/" "-i" "$interface" "-s" "-N"
procd_set_param command $PROG "-q" "--daq-dir" "/usr/lib/daq/" "-i" "$interface" "-c" "$config_file" "-s" "-N"
procd_set_param file $CONFIGFILE procd_set_param file $CONFIGFILE
procd_set_param respawn procd_set_param respawn
procd_close_instance procd_close_instance


Loading…
Cancel
Save