HELP with DECstation 3100
Ted Lemon
mellon at fenris.pa.dec.com
Wed Jul 11 08:19:56 AEST 1990
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_
More information about the Comp.unix.ultrix
mailing list