Update sysauth.htm
This commit is contained in:
parent
dbc98b4401
commit
49f5330604
@ -88,7 +88,7 @@
|
|||||||
if (bgcount == 0 ) then
|
if (bgcount == 0 ) then
|
||||||
local sys = require "luci.sys"
|
local sys = require "luci.sys"
|
||||||
local json = require "luci.jsonc"
|
local json = require "luci.jsonc"
|
||||||
local remote_bg_url="http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US"
|
local remote_bg_url="http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=ZH-CN"
|
||||||
--bing = sys.httpget(remote_bg_url)
|
--bing = sys.httpget(remote_bg_url)
|
||||||
bing = sys.exec("wget --timeout=0.5 -qO- '%s'" %remote_bg_url)
|
bing = sys.exec("wget --timeout=0.5 -qO- '%s'" %remote_bg_url)
|
||||||
if (bing and bing ~= '') then
|
if (bing and bing ~= '') then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user