On 9/26/07, David Bustos <David.Bustos at sun.com> wrote: > > Quoth Narendra Kumar S.S on Tue, Sep 25, 2007 at 12:24:03PM +0530: > > First of all, I am doing from inside a C code. > > I believe you can use system(3c) or fork() & exec() to execute commands > in C. > > > Also, the system needs to remember that this is done temporarily and has > to > > revert back to original state before signing off. > > What do you mean by "signing off"?
What I mean to say is, we must bring the state back to original before patchadd/patchrm/pkgadd/pkgrm exits. David > -- Warm Regards, Narendra Visit my blogs at: http://ssnarendrakumar.blogspot.com/ ___ ___ __ _ / __/ / __/ / | / / _\ \ _ \ \ / /| |/ / \___/ \___/ /_/ |__/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20070926/90b1a9c9/attachment.html>