luci/applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos
Steven Hessing 3b23203ce9 luci-app-noddos: Noddos, device-aware cloud-powered firewall (new package)
Signed-off-by: Steven Hessing <steven.hessing@gmail.com>
2017-10-01 06:44:13 -07:00

14 lines
323 B
Bash

#!/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