Re: how do your hotplugd(8) scripts look? mine is messy and needs cleaning.

Kirill A. Korinsky <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
On Thu, 11 Jun 2026 11:11:58 +0200,
Stuart Henderson <[email protected]> wrote:
> 
> On 2026-06-11, Alexandre Ratchov <[email protected]> wrote:
> > I'd suggest simply changing /dev/video* ownership to your user id,
> > after each upgrade.
> 
> rc.local is not a bad place to do that.
> 

I think this is cleaner:

~ $ grep video /upgrade.site
echo 'chown USER /dev/video*' >>/etc/rc.firsttime
~ $ 


-- 
wbr, Kirill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.