On Tue, 07 Jul 2026 14:59:39 +0200,
David Gwynne <[email protected]> wrote:
> 
> On Mon, Jul 06, 2026 at 11:50:46PM +0300, Veraellyunjie wrote:
> > Hi folks
> > 
> > I want OpenBSD to boot directly into an application, on tty,
> > without Xenocara.
> > 
> > I searched and found it is not supported,
> > and the closest you can do is
> > run your stuff directly from /etc/rc.local or /etc/ttys
> 
> im using the diff below to have my user automatically log on. i have
> this in gettytab:
> 
> al.dlg:\
>       :sp#115200:ht:al=dlg
> 
> and then this in /etc/ttys on ttyC0:
> 
> ttyC0 "/usr/libexec/getty al.dlg"     vt220   on   secure
> 
> and then this in my .profile to start the thing i want to run on the
> console:
> 
> TTY=$(tty)
> if [[ "$TTY" = "/dev/ttyC0" ]]; then
>       cd trees/wslv
>       exec sh run
> fi
> 
> it's supposed to work like "al" in freebsd getty. i havent shared this
> diff before because it seemed like a very niche problem that only i had.
> 

Thanks for this.

Personally I'll use it time to time when I debug some device.

-- 
wbr, Kirill

Reply via email to