File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / usr.bin / bsc / misc / 3270 / 3270inst
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:26:12 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v121, HEAD
Power 6/32 Unix version 1.21

echo "+++ Installation of EM3270 ++"
chown bin *
chmod o-w *
chgrp bin *
echo "--- Installing Default Host Configuration Files ---"
mkdir /usr/lib/bscbatch /usr/lib/bsc
mv 3270 3280 /usr/lib/bscbatch
chown bin /usr/lib/bscbatch /usr/lib/bsc
chgrp bin /usr/lib/bscbatch /usr/lib/bsc
chmod o-w,o+rx /usr/lib/bscbatch /usr/lib/bsc
echo "--- Linking em3277 with Installation Routines ---"
cc -O -i inst3270.c em3277.x -o em3277
mv inst3270.c /usr/lib/bsc
chown bin em3277;chgrp bin em3277
rm -f inst3270.o em3277.x
echo "--- Linking em3280 with Installation Routines ---"
cc -O -i inst3280.c em3280.x -o em3280
mv inst3280.c /usr/lib/bsc
chown bin em3280;chgrp bin em3280
rm -f inst3280.o em3280.x
echo "--- Installing commands ---"
mv em3277 em3280 /usr/bin
echo "--- Making Audit Trail Files ---"
mkdir /usr/spool/bscbatch /usr/spool/bscbatch/3270 /usr/spool/bscbatch/3280
cat /dev/null > /usr/spool/bscbatch/3270/AUDIT
cat /dev/null > /usr/spool/bscbatch/3280/AUDIT
chown bin /usr/spool/bscbatch /usr/spool/bscbatch/3270 /usr/spool/bscbatch/3270/AUDIT
chown bin /usr/spool/bscbatch/3280 /usr/spool/bscbatch/3280/AUDIT
chmod o-w /usr/spool/bscbatch /usr/spool/bscbatch/3270 /usr/spool/bscbatch/3280
chmod o+rw /usr/spool/bscbatch/3270/AUDIT /usr/spool/bscbatch/3280/AUDIT
rm 3270inst
echo "--- Installation complete. Remaining Installation Command Files: ---"
ls *inst

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.