X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-splash%2Fluasrc%2Fcontroller%2Fsplash%2Fsplash.lua;h=dbd266f46178061be522c61a25122ddbc8939e4d;hp=7dbf488a4ed98176a957b9c011c933a3b786b56c;hb=76982655fa433edd885bbb80bbe74e82fca527e2;hpb=b1b0c085de7483c5a778f0056a97da14e87b7f16 diff --git a/applications/luci-splash/luasrc/controller/splash/splash.lua b/applications/luci-splash/luasrc/controller/splash/splash.lua index 7dbf488a4..dbd266f46 100644 --- a/applications/luci-splash/luasrc/controller/splash/splash.lua +++ b/applications/luci-splash/luasrc/controller/splash/splash.lua @@ -10,7 +10,7 @@ end function action_dispatch() local mac = luci.sys.net.ip4mac(luci.http.getenv("REMOTE_ADDR")) or "" - local status = luci.sys.execl("luci-splash status "..mac)[1] + local status = luci.util.execl("luci-splash status "..mac)[1] if #mac > 0 and ( status == "whitelisted" or status == "lease" ) then luci.http.redirect(luci.dispatcher.build_url()) else