:
:	generate system
:
echo
echo installing new devices
chdir /usr/sys/dmr
cc -c -o lp.c
cc -c -o rp.c
ar r ../lib2 lp.o rp.o
rm *.o
chdir ../conf
echo
echo begining sysgen
cc -c -o conf.c
cc sysfix.c
mv a.out sysfix
as m45.s
mv a.out m45.o
as data.s low.s
mv a.out low.o
ld -x -r -d low.o m45.o conf.o ../lib1 ../lib2
nm -ug
sysfix a.out x
mv x a.out
cp a.out /unix
echo sysgen complete....
echo
:
:	make new getty
:
chdir /etc
cc getty.c
rm -f getty
mv a.out getty
chmod 774 getty
echo
echo etc etc etc...
rm /hpunix /rpunix
mv /rpunix /etc/rpunix
chmod 660 /etc/rpunix
chmod 600 /unix
echo
:
:	add special files:
:
chdir /usr/sys
echo adding special files
sh new-devices
