diff options
author | Steven Hessing <steven.hessing@gmail.com> | 2017-09-21 22:08:43 -0700 |
---|---|---|
committer | Steven Hessing <steven.hessing@gmail.com> | 2017-10-01 06:44:13 -0700 |
commit | 3b23203ce95c48a08b417a303ee8c6dc47f6eb60 (patch) | |
tree | da05505b65ccd4f31880dcbc2c67416331e7fa74 /applications/luci-app-noddos/root/etc/uci-defaults | |
parent | 72b90c0a10678392692bd6b99301daba8792258a (diff) |
luci-app-noddos: Noddos, device-aware cloud-powered firewall (new package)
Signed-off-by: Steven Hessing <steven.hessing@gmail.com>
Diffstat (limited to 'applications/luci-app-noddos/root/etc/uci-defaults')
-rw-r--r-- | applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos | 14 |
1 files changed, 14 insertions, 0 deletions
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 |