summaryrefslogtreecommitdiffhomepage
path: root/modules/niu
diff options
context:
space:
mode:
Diffstat (limited to 'modules/niu')
-rw-r--r--modules/niu/luasrc/controller/niu/system.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/niu/luasrc/controller/niu/system.lua b/modules/niu/luasrc/controller/niu/system.lua
index 593a448839..127a311c57 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