Samuel Thibault, on Sun 24 Jan 2016 14:47:59 +0100, wrote:
> Marco d'Itri, on Sat 23 Jan 2016 23:03:51 +0100, wrote:
> > On Jan 23, Samuel Thibault <[email protected]> wrote:
> > > Should udev or systemd perhaps provide some hook to configure a
> > > just-created VT?
> > Maybe a rule like this one?
> > 
> > ACTION=="add", KERNEL=="tty[1-9]|tty[1-9][0-9]", RUN+="..."
> 
> That gets triggered a few hundreds of times during boot, but apparently
> not on VT dealloc/realloc done by systemctl restart [email protected]

I however tried vcs[0-9]|vcs[1-9][0-9], and it does get called on getty
service restart. I'm having a look at calling setupcon there.

Samuel

Reply via email to