diff --git a/ReadMe.md b/ReadMe.md index efd9d6c..03b919b 100755 --- a/ReadMe.md +++ b/ReadMe.md @@ -55,11 +55,20 @@ SmartDNS是一个运行在本地的DNS服务器,SmartDNS接受本地客户端 |华硕原生固件(optware)|smartdns.xxxxxxx.mipsbig.ipk|支持MIPS大端架构的系统,如RT-AC55U, RT-AC66U. |华硕原生固件(optware)|smartdns.xxxxxxx.mipsel.ipk|支持MIPS小端架构的系统,如RT-AC68U。 |openwrt 15.01|smartdns.xxxxxxxx.ar71xx.ipk|支持AR71XX MIPS系统。 -|openwrt 15.01|smartdns.xxxxxxxx.ramips.ipk|支持MT7620端等小系统 -|openwrt LEDE|smartdns.2xxxxxxxx.mips_24kc.ipk|支持AR71XX MIPS系统。 +|openwrt 15.01|smartdns.xxxxxxxx.ramips_24kec.ipk|支持MT7620等小端路由器 +|openwrt 15.01(潘多拉)|smartdns.xxxxxxxx.mipsel_24kec_dsp.ipk|支持MT7620系列的潘多拉固件 +|openwrt LEDE|smartdns.xxxxxxxx.mips_24kc.ipk|支持AR71XX MIPS系统。 |openwrt LEDE|smartdns.xxxxxxxx.mipsel_24kc.ipk|支持MT7260等小端路由器 +|openwrt LEDE|smartdns.xxxxxxxx.x86_64.ipk|支持x86_64路由器 |openwrt LUCI|luci-app-smartdns.xxxxxxxxx.xxxx.all.ipk|openwrt管理统一界面 +openwrt系统CPU架构比较多,请查看CPU架构后下载,CPU架构可在路由器管理界面找到,查看方法: +* 登录路由器,点击`System`->`Software`,点击`Configuration` Tab页面,在opkg安装源中可找到对应软件架构,下载路径中可找到,如下,架构为ar71xx + +``` +src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base +``` + [此处下载](https://github.com/pymumu/smartdns/releases) 标准Linux系统安装(树莓派) diff --git a/package/luci/files/luci/model/cbi/smartdns.lua b/package/luci/files/luci/model/cbi/smartdns.lua index 5e5d253..0893f84 100644 --- a/package/luci/files/luci/model/cbi/smartdns.lua +++ b/package/luci/files/luci/model/cbi/smartdns.lua @@ -28,7 +28,7 @@ o.datatype = "port" o.rempty = false o = s:option(Flag, "redirect", translate("redirect"), translate("redirect standard dns query from 53 to smartdns")) -o.default = "1" +o.default = true o.placeholder = "1" o.rempty = false @@ -45,7 +45,7 @@ o = s:option(Value, "rr_ttl_min", translate("Domain TTL Min"), translate("Minimu o.rempty = true ---- rr-ttl-max -o = s:option(Value, "rr_ttl_min", translate("Domain TTL Max"), translate("Maximum TTL for all domain result.")) +o = s:option(Value, "rr_ttl_max", translate("Domain TTL Max"), translate("Maximum TTL for all domain result.")) o.rempty = true -- Upstream servers diff --git a/src/smartdns.c b/src/smartdns.c index 0a2324e..6c2f39b 100644 --- a/src/smartdns.c +++ b/src/smartdns.c @@ -58,7 +58,7 @@ void help(void) " -p [pid] pid file path\n" " -h show this help message.\n" - "Online help: http://smartdns.github.io" + "Online help: http://pymumu.github.io/smartdns" "\n"; /* clang-format on */ printf("%s", help);