RE: user input in the %post section?

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

 



If using this method for input, does the F3 screen become active or do
you actually have to press the keystroke to start entering your input? 
Can you only use chvt 3???

So I guess I want to ask for user input without the user having to
switch to the third console.

Mike

On Mon, 2002-07-08 at 09:16, Jason Kohles wrote:
> On Mon, 2002-07-08 at 13:02, Keegan, Gordon wrote:
> > A sample ks.cfg file that I picked up somewhere had the following example of
> > user interaction during the install:
> > 
> > 	# redirect I/O to the 3rd tty
> > 	exec < /dev/tty3 > /dev/tyt3
> > 	echo -n "Enter something: "
> > 	read yn
> > 	echo "We got $yn"
> > 
> > Apologies for not having the source to be able to credit, and you'll have to
> > do the <CTL>+<ALT>+<F3> thing, but this may get you in the direction you
> > need.
> > 
> Just stick in a call to 'chvt 3' before you redirect and you can script
> the ctrl-alt-F3 part as well.
> 
> -- 
> Jason Kohles                                 jkohles@xxxxxxxxxx
> Senior Engineer                 Red Hat Professional Consulting
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list






[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