On 30/11/2016 06:11, Dirk Brenken wrote: > Hi list, > > after studying a few mostly incomplete/outdated online docs and > examples on github (lede main source & package repo) procd is still a > kind of "terra incognita" ... at least for me. I don't like to copy & > paste things that I do not understand therefore a few (dump/initial) > procd questions: > > 1. If I have a script that doesn't daemonize (does not run as a > 'service'), do I still need the whole 'procd_open_instance' stuff or is > a simple script start sufficient?
as you prefer > > 2. What's the expected behavior of 'service_triggers' in this case? > I.e. the firewall init script (fw3 does not run as a daemon) defines > things like that: > > service_triggers() { > procd_add_reload_trigger firewall > [...] > } > reload service when firewall config changes > 3. Is it possible to replace normal hotplug-script functionality with > 'service_triggers', i.e for iface/ifup events? yes John _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev