Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2017 10:03:21 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?Q?Johan_Str=c3=b6m?= <johan@stromnet.se>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD telldusd port fix for devd script
Message-ID:  <7bdad62d-4897-c4ff-6e7a-c5362ccc131c@selasky.org>
In-Reply-To: <3bc6fa52-7066-05b9-2cdf-dfa8cfe681f9@stromnet.se>
References:  <27b89374-5513-ed45-6ec1-58a2c1156543@selasky.org> <3bc6fa52-7066-05b9-2cdf-dfa8cfe681f9@stromnet.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7bdad62d-4897-c4ff-6e7a-c5362ccc131c>