Hi all, when i add above
'print("hello")' in /usr/lib/lua/luci/model/uci.lua got follow error: /usr/lib/lua/luci/dispatcher.lua:448: Failed to execute call dispatcher target for entry '/servicectl/restart/firewall'. The called action terminated with an exception: /usr/lib/lua/luci/model/uci.lua:71: attempt to call global 'print' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:195: in function </ usr/lib/lua/luci/dispatcher.lua:194> why cannot use print to print some value? thanks all! elvis
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel