FreeBSD telldusd port fix for devd script

Hans Petter Selasky hps at selasky.org
Wed Oct 4 08:06:02 UTC 2017


On 10/04/17 07:59, Johan Ström wrote:
> Hi,
> 
> thanks, verified and seems to work fine, at least on unplug/re-plug.
> 
> I added a "logger "logger ATTACH event on $cdev;" to the action too. On
> unplug-plug scenario this was logged and all worked fine [1].
> On a reboot it did not log it [2], but it actually seems to have
> executed, as the dialer group have been set on ugen0.2 and telldusd is
> able to interact with it.
> 
> Can I expect that this will execute on system boot too, or is there some
> other magic involved for that? logger not ready for use at that stage,
> but devd is perhaps?

Yes, but it is not executed until the devd is started. All the events 
are queued in the kernel and then when devd opens they are read and 
executed.

--HPS



More information about the freebsd-ports mailing list