On 23/04/2014 12:16, Karl Palsson wrote:
> On Wed, Apr 23, 2014 at 10:59:46AM +0200, John Crispin wrote:
>>
>>
>> On 23/04/2014 10:44, Hartmut Knaack wrote:
>>> +stop() {
>>>> + service_stop $PROG +}
>>
>> this bit is redundant ....
>
> If it is, can you please update:
> http://wiki.openwrt.org/doc/devel/packages#packaging.a.service
>
> It would be fantastic to get docs from someone who _knows_ what's
> best, rather than someone like me trying to follow along well after
> the fact and playing catchup. There are so many different styles
> of init scripts in the packages repo that trying to guess which one
> is a "good" example is a rather hard task.
>
> Sincerely, Karl Palsson
netifd is a good example that covers almost all special cases of procd
style init.d files.
please have a look and update the wiki, it will be a good exercise if
you want to learn more about the init.d files.
John
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel