X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fniu%2Fluasrc%2Fcontroller%2Fniu%2Fsystem.lua;h=127a311c57750024ba70bc860eb6ee7ec4aeb3f0;hp=593a4488397a87fc76e1e50319357027077cf752;hb=8cfa5cc7c59e124a7abcf64952ad6c5050121778;hpb=bf25765406456a42ea7d619466e914277cbe479b diff --git a/modules/niu/luasrc/controller/niu/system.lua b/modules/niu/luasrc/controller/niu/system.lua index 593a44883..127a311c5 100644 --- a/modules/niu/luasrc/controller/niu/system.lua +++ b/modules/niu/luasrc/controller/niu/system.lua @@ -127,7 +127,7 @@ function upgrade() local function image_supported() -- XXX: yay... return ( 0 == os.execute( - ". /etc/functions.sh; " .. + ". /lib/functions.sh; " .. "include /lib/upgrade; " .. "platform_check_image %q >/dev/null" % tmpfile @@ -262,4 +262,4 @@ function upgrade() keepconfig=(keep_avail and http.formvalue("keepcfg") == "1") } ) end -end \ No newline at end of file +end