[luci] Run a luci.sys.call() when a page loads
Jo-Philipp Wich
xm at subsignal.org
Fri Dec 6 11:29:05 CET 2013
Hi.
> The m.on_init function runs when the page is loading.
>
> Now I want to run a script *after* a page finishes loading and
> stabilizes, e.g. after clicking save and apply, the channel scan is
> going on and the waiting circle on the webpage is still moving.
>
> When the waiting circle icon disappears, the script should run.
> How to do this?
Best is to hook your executable into /etc/config/ucitrack, section
"config wireless" as "list exec '/bin/yourcommand'".
Note however that at this stage it isd not possible to write output to
the page anymore.
~ Jow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20131206/0e464483/attachment.pgp>
More information about the luci
mailing list