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

until and if/then functions in %post



I wrote script asking for a new root password in %post. I am using until and if/then functions. However the %post section never starts up when it is the %post sections turn. It just hangs.

 

The script starts as follows:

 

PASSWORD="&*UY^&^YI"

PASSWORD_CHECK=1

 

until [ "$PASSWORD" = "$PASSWORD_CHECK" ]

     do

if [ $PASSWORD = "&*UY^&^YI" ] ; then

 

        /usr/bin/dialog --title "Enter root (Administrator) Password" --backtitle "…….

 

Any ideas?

 

Thanks

 

AR


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