[OpenWrt-Devel] Build ipk and make autostart?

Nguyễn Hồng Quân ng.hong.quan at gmail.com
Sat Sep 13 03:27:52 EDT 2014


Hi Gerald

Thanks for your quick reply

On Sat, Sep 13, 2014 at 2:59 PM, Gerald Matzka <mgerald21 at yahoo.de> wrote:


> Take a look at http://wiki.openwrt.org/doc/devel/packages - section
> Package/postinst.
> Seems you forgot the #!/bin/sh
>

Now I update the Makefile like this (there is no indentation)

define Package/postinst
#!/bin/sh
/etc/init.d/puppysplash enable
endef

but still, no symlink to /etc/init.d/puppysplash is created in /etc/rc.d/

-- 
***********************************************
* 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/9b4f5e8e/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list