openvt

Eric Mumpower nocturne at permabit.com
Thu Feb 28 15:08:28 CET 2002


> Usage: openvt [-c vtnumber] [-l] [-u] [-s] [-v] [-w] -- command_line
[...]
> 	openvt -c2; openvt -c3
[...]
> Is there another openvt than the expected one ? Is someone playing with IFS ?

The problem is subtle. The variable SHELL is no longer exported by init, or
whatever it is that was previously exporting it. Openvt defaults to running
$SHELL if it's set, if no command_line is specified on openvt's command
line. But, since $SHELL is no longer set, you must specify "/bin/bash"as an
additional argument to openvt. This is already in the FAI mainline, as of
about a month ago:

http://cvs.debian.org/fai/lib/subroutines.diff?r1=1.71&r2=1.72



More information about the linux-fai mailing list