From 8cfa5cc7c59e124a7abcf64952ad6c5050121778 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 20 Dec 2012 15:01:04 +0000 Subject: don't use symlink to /lib/functions.sh Signed-off-by: Luka Perkov --- modules/niu/luasrc/controller/niu/system.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/niu') 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 -- cgit v1.2.3