[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to run shell script from anaconda
- From: Masoud Sharbiani <masouds oeone com>
- To: Alisha Nigam <mail_to_alisha yahoo com>
- Cc: anaconda-devel-list redhat com
- Subject: Re: How to run shell script from anaconda
- Date: Thu, 7 Nov 2002 11:08:11 -0500
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 redhat com
> https://listman.redhat.com/mailman/listinfo/anaconda-devel-list
>
--
Masoud Sharabiani
Software Developer, OEone Corporation
#103 - 290 St-Joseph Blvd. Hull, Quebec J8Y 3Y3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]