Support openwrt

This commit is contained in:
Nick Peng
2018-07-22 01:12:25 +08:00
parent 9391f709fc
commit a1a509f52c
28 changed files with 875 additions and 93 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@smartdns[-1]
add ucitrack smartdns
set ucitrack.@smartdns[-1].init=smartdns
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0