Support openwrt
This commit is contained in:
11
package/luci/files/etc/uci-defaults/50_luci-smartdns
Normal file
11
package/luci/files/etc/uci-defaults/50_luci-smartdns
Normal 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
|
||||
Reference in New Issue
Block a user