[OpenWrt-Devel] Build ipk and make autostart?

Nguyễn Hồng Quân ng.hong.quan at gmail.com
Sat Sep 13 02:48:22 EDT 2014


When I package an application to ipk file, how do I make the application to
automatically start?

I already make the init script, which is supposed to install to /etc/init.d/

I tried add these lines to Makefile

define Package/postinst
    /etc/init.d/puppysplash enable

where "puppysplash" is the name of application. But after building the
OpenWrt image with that application included, I didn't see the symlink in

So, what is the right way to do?


* Nguyễn Hồng Quân                            *
* Y!M: ng_hquan_vn                            *
* Facebook: ng.hong.quan                      *
* Web: quan.hoabinh.vn                        *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140913/3595e5ad/attachment.htm>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list