SUMMARY: Automating Pkgadd

From: Michal Wellum <mike.wellum_at_linmor.com>
Date: Mon Mar 25 2002 - 12:00:17 EST
Thanx to the following:
Martynas Buozis
Eric Horne
Mann Michael
Adam Kirby

All of which gave 3/4 of the answer I needed.

1) create a pkg_no_ask asmin file that looks like this:
basedir=default 
runlevel=nocheck 
conflict=nocheck
setuid=nocheck 
action=nocheck 
partial=quit 
instance=unique
idepend=quit 
rdepend=quit 
space=quit 
mail= 

(This is what was recommended by the above people, who told me about the -a
switch

then I did this:

I created a ans-common file with a single carriage return.
the I used the following command line:

pkgadd -a pkg_no_ask -d <pkgname> < ans-common

ans-common gives pkgadd an enter, so it goes to the next question, which is
then skipped by the pkg_no_add file given by the -a flag. 

Thanx to everyone!


Michal Wellum
IS/IT/Systems Analyst    "Oh look! Murphy is fighting 
Linmor Technologies         with Ockham again..."
(613)727-2757 x283
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Mar 25 11:01:30 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:38 EST