summaryrefslogtreecommitdiff
path: root/sentinel-fwlogs/files/uci-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'sentinel-fwlogs/files/uci-defaults')
-rwxr-xr-xsentinel-fwlogs/files/uci-defaults19
1 files changed, 0 insertions, 19 deletions
diff --git a/sentinel-fwlogs/files/uci-defaults b/sentinel-fwlogs/files/uci-defaults
deleted file mode 100755
index c3c2644..0000000
--- a/sentinel-fwlogs/files/uci-defaults
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -e
-. /lib/functions/sentinel-firewall.sh
-
-# fwlogs entry in sentinel config
-if [ "$(uci -q get sentinel.fwlogs)" != "fwlogs" ]; then
- uci -q batch <<EOT
- delete sentinel.fwlogs
- set sentinel.fwlogs='fwlogs'
- commit sentinel.fwlogs
-EOT
-fi
-
-
-# Enable for default interface
-config_firewall_default_enable "sentinel_fwlogs"
-
-# Always reload firewall to use latest version of sentinel-firewall script
-/etc/init.d/firewall reload