[luci] running .lua when the modem is booting ( starting ) ?

Jo-Philipp Wich xm at subsignal.org
Wed Oct 7 19:40:50 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

> i'm so happy, my question is now how to start a .lua when the modem is
> booting ( starting )?
> is it with luci.sys.init class ? :s

This init class is only used to manage init scripts (disable, enable).
You need to write a custom init script for your application to be
started on boot. On recent OpenWrt trunk and 8.09 branch revisions you
can use /etc/rc.local as well.

Regards,
JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrM0qIACgkQdputYINPTPPtWACgg6bgtqOKGDYAtJ6N6mgUDfau
n4sAoKfxTkrXTa+E/Oy/FLjgbHcbd5iU
=g1RO
-----END PGP SIGNATURE-----


More information about the luci mailing list