From 3b23203ce95c48a08b417a303ee8c6dc47f6eb60 Mon Sep 17 00:00:00 2001 From: Steven Hessing Date: Thu, 21 Sep 2017 22:08:43 -0700 Subject: luci-app-noddos: Noddos, device-aware cloud-powered firewall (new package) Signed-off-by: Steven Hessing --- .../luci-app-noddos/root/etc/uci-defaults/40_luci-noddos | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos (limited to 'applications/luci-app-noddos/root/etc/uci-defaults') diff --git a/applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos b/applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos new file mode 100644 index 0000000000..17abbc41ca --- /dev/null +++ b/applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos @@ -0,0 +1,14 @@ +#!/bin/sh + +# Copyright (C) 2017 Steven Hessing (steven.hessing@live.com) +# This is free software, licensed under the GNU General Public License v3 + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@noddos[-1] + add ucitrack noddos + set ucitrack.@noddos[-1].init=noddos + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 -- cgit v1.2.3