Browse Source
Merge pull request #5957 from MikePetullo/snort
snort: set configuration file path in init script
lilik-openwrt-22.03
Hannu Nyman
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
net/snort/files/snort.init
|
|
@ -22,7 +22,7 @@ start_service() { |
|
|
|
} |
|
|
|
|
|
|
|
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 respawn |
|
|
|
procd_close_instance |
|
|
|