how to run a program during %post section

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

 



i did everything said to do in th user input in %post section, thread.
and now i want to run the redhat script timeconfig (to selcet time zone)
but when ever i press a key it write its letter to the screen instad of to the 
program


my post looks like


%post
exec < /dev/tty3 > /dev/tty3
chvt 3
set -x
clear
echo "Enter host Name: "
read TADLYS_HOST
echo -e "NETWORKING=yes\nHOSTNAME=${TADLYS_HOST}" > /etc/sysconfig/network
timeconfig

thanks
 








[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