On 12/07/2012 05:04 AM, . Elvis wrote:
i want print follow command "%s",how to do print?
return os.execute("/sbin/luci-reload %s >/dev/null 2>&1"
% table.concat(configlist, " "))
If I understand you correctly (not sure that I do, and I also know nothing
of LuCI), you might try:
local cmd = "/sbin/luci-reload %s >/dev/null 2>&1"
% table.concat(configlist, " ");
print( cmd );
return os.execute( cmd );
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel