diff options
author | Karel Kočí <cynerd@email.cz> | 2020-11-05 11:08:59 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-11-05 11:08:59 +0100 |
commit | 59cbf758e1965f7127e337983a4f3e38f8233e4d (patch) | |
tree | 213424910c603e85788518d9ec6b34de00623225 /sentinel-fwlogs/files/init | |
parent | 9aa4f21cf22502060841830300d5d02907e3f5a4 (diff) | |
download | openwrt-personal-pkgs-59cbf758e1965f7127e337983a4f3e38f8233e4d.tar.gz openwrt-personal-pkgs-59cbf758e1965f7127e337983a4f3e38f8233e4d.tar.bz2 openwrt-personal-pkgs-59cbf758e1965f7127e337983a4f3e38f8233e4d.zip |
Remove packages merged to turris-os-packages
Diffstat (limited to 'sentinel-fwlogs/files/init')
-rwxr-xr-x | sentinel-fwlogs/files/init | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sentinel-fwlogs/files/init b/sentinel-fwlogs/files/init deleted file mode 100755 index 955b333..0000000 --- a/sentinel-fwlogs/files/init +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh /etc/rc.common - -USE_PROCD=1 -START=99 -STOP=10 - - -start_service() { - source /lib/functions/sentinel.sh - source /usr/libexec/sentinel/fwlogs-defaults.sh - allowed_to_run "fwlogs" || return 1 - - config_load sentinel - local nflog_group nflog_threshold - config_get nflog_group fwlogs nflog_group "$DEFAULT_NFLOG_GROUP" - - procd_open_instance - procd_set_param command /usr/bin/sentinel-fwlogs - procd_append_param command --nflog-group="$nflog_group" - procd_set_param respawn 3600 5 5 - procd_set_param stdout 1 - procd_set_param stderr 1 - procd_set_param file /etc/config/sentinel - procd_close_instance -} |