From 2f31048b9123444aed7559b72c56645d73379e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 11 Jul 2020 16:06:13 +0200 Subject: sentinel-minipot: include latest turris-os-version --- sentinel-minipot/files/uci-defaults | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sentinel-minipot/files/uci-defaults (limited to 'sentinel-minipot/files/uci-defaults') diff --git a/sentinel-minipot/files/uci-defaults b/sentinel-minipot/files/uci-defaults new file mode 100644 index 0000000..f90516c --- /dev/null +++ b/sentinel-minipot/files/uci-defaults @@ -0,0 +1,25 @@ +#!/bin/sh +set -e +. /lib/functions/sentinel-firewall.sh + +# Minipot entry in sentinel config +if [ "$(uci -q get sentinel.minipot)" != "minipot" ]; then + uci -q batch <