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

How to run shell script from anaconda



hi 

     During installation of RedHat-7.2 before disk
partioning  i want to incorporate a program that 
will ask user to insert a floppy & the will copy 
some user given files to the floppy.
  
     For that i have written a simple C prog.
& have created the object file.then i have
incorporated it in /usr/lib/anaconda/text.py
file as
  
    os.execv("/sbin/myprog.o",["-/sbin/myprog.o"])

now as soon as the myprog.o ends the system sends
terminal signals & CD is ejected .Further installation
stops.Can any one suggest whats i have to do ????

       With Regards .

                 Alisha Nigam.  

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com





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