RE: user input in the %post section?

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

 



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





[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