* Felix Fietkau <[email protected]> [10.11.2013 14:36]:
> > also every script which needs an action has to fork, e.g.
> > in '/etc/hotplug.d/iface/50-olsrd' we call
> > 
> > /etc/init.d/olsrd restart
> > 
> > maybe we can just source 'rc.common' once in '/sbin/hotplug-call'
> > and so we can call just 'restart' when we need it?
> I'm not sure it's worth it. The other email you just sent is a lot more
> useful wrt. potential for optimization.

i changed the call in the olsrd-hotplug script to

. /etc/rc.common /etc/init.d/olsrd restart
instead of
/etc/init.d/olsrd restart

is this ok, or is the wrong somehow? it seems to work.

bye, bastian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to