Re: user input in the %post section?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 8 Jul 2002, Philip Rowlands wrote:

> On Mon, 8 Jul 2002, Todd Chilson wrote:
> 
> >  I have a Kickstart script that prompts for user input in the %post
> >section.  However, I have to ask for user input.  So, it would look
> >something like:
> >echo "Enter blast host number (1-34, etc.): "
> >read BLNUM
> >   However, when I enter a number and press enter nothing happens.  The
> >other interesting thing is that I have to hit ctrl+alt+f2 in order to
> >see the user prompt in the first place.
> 
> Have you set the file descriptors at all? I've found the following lines
> are necessary at the top of the %post section in order to see stdout.
> 
> exec > /dev/console 2>&1	#send stdout and stderr to console
> TERM=dumb			#reset terminal to lose staircase effect
> reset
> clear

isn't there a "chvt" command that's used for something like this?

rday





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux