Merge pull request #980 from NvrBst/pull-request-upnp_description
[project/luci.git] / applications / luci-app-noddos / root / etc / uci-defaults / 40_luci-noddos
1 #!/bin/sh
2
3 # Copyright (C) 2017 Steven Hessing (steven.hessing@live.com)
4 # This is free software, licensed under the GNU General Public License v3
5
6 uci -q batch <<-EOF >/dev/null
7         delete ucitrack.@noddos[-1]
8         add ucitrack noddos
9         set ucitrack.@noddos[-1].init=noddos
10         commit ucitrack
11 EOF
12
13 rm -f /tmp/luci-indexcache
14 exit 0