From ca796b169e12d420a27ce18d75a80d689c6f3822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 26 Sep 2020 11:21:29 +0200 Subject: Add packages for testing --- sentinel-fwlogs/files/uci-defaults | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 sentinel-fwlogs/files/uci-defaults (limited to 'sentinel-fwlogs/files/uci-defaults') diff --git a/sentinel-fwlogs/files/uci-defaults b/sentinel-fwlogs/files/uci-defaults new file mode 100755 index 0000000..c3c2644 --- /dev/null +++ b/sentinel-fwlogs/files/uci-defaults @@ -0,0 +1,19 @@ +#!/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 <