You can't just print to the browser from there. Use syslog or let the command write to a file, e.g.
luci.sys.exec("iwxxx wlan0 channel %d 2>&1 1>/tmp/debug.log" % value)
~ Jow
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users
