Path: utzoo!utgpu!watserv1!watmath!att!occrsh!uokmax!munnari.oz.au!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!granite.pa.dec.com!mellon From: mellon@fenris.pa.dec.com (Ted Lemon) Newsgroups: comp.unix.ultrix Subject: Re: HELP with DECstation 3100 Message-ID: Date: 10 Jul 90 22:19:56 GMT References: <160.2698e133@miavx0.ham.muohio.edu> <1182@umriscc.isc.umr.edu> Sender: news@wrl.dec.com (News) Organization: Digital Equipment Corporation Lines: 20 In-Reply-To: acar@usenet.umr.edu's message of 10 Jul 90 17:24:48 GMT I have a script that I run on all my machines after I've installed them which essentially checks to see if you're running UWS 2.2D instead of UWS2.1 or UWS2.2, and if you are, then for every file that matches UDT*031.lk in /usr/etc/subsets, a file UDT*030.lk is created, and for every file UDW*022.lk, a file UDW*020.lk is created. This fools other subsets into believing that the subsets that they're looking for are actually installed. The code is shown below: if [ -f /usr/etc/subsets/U?TBASE031.lk ] && [ ! -f /usr/etc/subsets/U?TBASE030.lk ]; then foo=`ls /usr/etc/subsets/U?T*031.lk |sed -n -e 's/031/030/p'` touch $foo foo=`ls /usr/etc/subsets/U?W*022.lk |sed -n -e 's/022/020/p'` touch $foo fi Have fun! _MelloN_