Re: How to run shell script from anaconda

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

 



Hello, 
I think what you need is retcode = os.system("command").
cheers
Masoud

On Thu, Nov 07, 2002 at 07:51:09AM -0800, Alisha Nigam wrote:
> 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
> 
> 
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/anaconda-devel-list
> 

-- 
Masoud Sharabiani
Software Developer, OEone Corporation
#103 - 290 St-Joseph Blvd.  Hull, Quebec J8Y 3Y3





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux