diff options
author | Karel Kočí <karel.koci@nic.cz> | 2020-08-04 10:19:23 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2020-08-04 10:19:23 +0200 |
commit | b2f7f1e3f09d532f55fc3e215a81cdd007b634dd (patch) | |
tree | 8847a94b6bbcd21bc96a35a905553e28f7fda96a /sentinel-minipot/files/uci-defaults | |
parent | 08cf0c0d8eb36dbee9c86717305dea1094394bdd (diff) | |
download | openwrt-personal-pkgs-b2f7f1e3f09d532f55fc3e215a81cdd007b634dd.tar.gz openwrt-personal-pkgs-b2f7f1e3f09d532f55fc3e215a81cdd007b634dd.tar.bz2 openwrt-personal-pkgs-b2f7f1e3f09d532f55fc3e215a81cdd007b634dd.zip |
sentinel-minipot: remove as no longer needed at the moment
Diffstat (limited to 'sentinel-minipot/files/uci-defaults')
-rw-r--r-- | sentinel-minipot/files/uci-defaults | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sentinel-minipot/files/uci-defaults b/sentinel-minipot/files/uci-defaults deleted file mode 100644 index f90516c..0000000 --- a/sentinel-minipot/files/uci-defaults +++ /dev/null @@ -1,25 +0,0 @@ -#!/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 <<EOT - delete sentinel.minipot - set sentinel.minipot='minipot' - commit sentinel.minipot -EOT -fi - -# Remove old firewall rules -[ -z "$(uci -q get firewall.sentinel_minipot_telnet_mark)" ] || \ - uci -q delete firewall.sentinel_minipot_telnet_mark -[ -z "$(uci -q get firewall.sentinel_minipot_telnet)" ] || \ - uci -q delete firewall.sentinel_minipot_telnet - - -# Enable for wan interface in default -config_firewall_default_enable "sentinel_minipot" - -# Always reload firewall to use latest version of sentinel-firewall script -/etc/init.d/firewall reload |