Subject: /usr/src/etc populated and a little reorg cleanup (#361) Index: etc/*,new/ 2.11BSD Description: In the recent past the directory /usr/src/etc was vacated by dispersing the contents between /usr/src/sbin, usr.sbin, libexec, and so on. The role of /usr/src/etc now is to hold template (example) files for the configuration files in /etc (and /dev). Repeat-By: ls -l /usr/src/etc Fix: The directories /usr/skel and /usr/src/sys/pdpdist are removed because /usr/src/etc consolidates all template configuration files into one place. Also a minor continuation of the "Grand Reorg" takes place. Several programs (patch, shar, tcsh) are moved from /usr/src/new into /usr/src/bin and usr.bin because they are standard components of the system (and thus are no longer 'new'). Several obsolete programs (shortc, nmcoll, checkobj, oldassn) are moved into /usr/src/old. The first three of these programs were rendered obsolete with the introduction of long variable names in the C compiler. The source to 'init' is moved into the /usr/src/sbin hierarchy. BUT the executable is still installed as /etc/init. Contained in the kit below are three files: a shell script which performs the rearrangement of the files/directories, a shar file of the new contents of /usr/src/etc, and a patch file to update several Makefiles in the system. To install this update cut where indicated saving to a file (/tmp/361). Then: cd /tmp sh 361 sh 361.sh sh 361.shar /usr/bin/patch -p0 < 361.patch The '/usr/bin' is present because 'patch' was moved by the script '361.sh'. If your shell is 'csh' the you need to either type the command 'rehash' before running patch OR simply specify the pathname. Finally you probably want to clean up: rm 361 361.sh 361.shar 361.patch That's all there is to it. Nothing to recompile this time. As always this and previous updates to 2.11BSD are available via anonymous FTP to either FTP.IIPO.GTEGSC.COM or MOE.2BSD.COM in the directory /pub/2.11BSD. ----------------------cut here--------------------- #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create: # 361.sh # 361.patch # 361.shar # This archive created: Sun Jan 12 11:31:36 1997 export PATH; PATH=/bin:/usr/bin:$PATH if test -f '361.sh' then echo shar: "will not over-write existing file '361.sh'" else sed 's/^X//' << \SHAR_EOF > '361.sh' X#!/bin/sh X Xumask 22 Xset -e Xmkdir /usr/src/sbin/init Xcp -p /usr/src/etc/init.c /usr/src/sbin/init/init.c Xcp -p /usr/src/man/man8/init.8 /usr/src/sbin/init/init.8 X Xrm -f /usr/src/man/man8/init.8 Xrm -f /usr/src/etc/Makefile /usr/src/etc/init.c X Xrm -r /usr/skel /usr/src/sys/pdpdist X Xcp -p -r /usr/src/new/patch /usr/src/usr.bin Xcp -p -r /usr/src/new/tcsh /usr/src/bin Xcp -p -r /usr/src/new/shar /usr/src/usr.bin X Xrm -r /usr/src/new/shar /usr/src/new/tcsh /usr/src/new/patch X Xmv /usr/new/patch /usr/bin/patch Xmv /usr/new/shar /usr/bin/shar Xmv /usr/new/traverse /usr/bin/traverse X Xcp -p -r /usr/src/new/checkobj /usr/src/old/checkobj Xcp -p -r /usr/src/new/nmcoll /usr/src/old/nmcoll Xcp -p -r /usr/src/new/shortc /usr/src/old/shortc Xcp -p -r /usr/src/new/oldassn /usr/src/old/oldassn X Xrm -r /usr/src/new/checkobj /usr/src/new/nmcoll /usr/src/new/shortc Xrm -r /usr/src/new/oldassn Xrm /usr/new/man/cat1/nmcoll.0 /usr/new/man/cat1/checkobj.0 Xrm /usr/new/man/cat1/shortc.0 /usr/new/man/cat1/oldassn.0 Xrm /usr/new/shortc /usr/new/nmcoll /usr/new/checkobj /usr/new/oldassn X Xmv /usr/new/man/cat1/shar.0 /usr/man/cat1/shar.0 Xmv /usr/new/man/cat1/patch.0 /usr/man/cat1/patch.0 SHAR_EOF chmod 755 '361.sh' fi if test -f '361.patch' then echo shar: "will not over-write existing file '361.patch'" else sed 's/^X//' << \SHAR_EOF > '361.patch' X*** /usr/src/bin/Makefile.old Sat Nov 16 20:46:19 1996 X--- /usr/src/bin/Makefile Fri Jan 10 22:01:43 1997 X*************** X*** 3,9 **** X # All rights reserved. The Berkeley software License Agreement X # specifies the terms and conditions for redistribution. X # X! # @(#)Makefile 5.19.8 (2.11BSD GTE) 1996/11/16 X # X DESTDIR= X CFLAGS= -O X--- 3,9 ---- X # All rights reserved. The Berkeley software License Agreement X # specifies the terms and conditions for redistribution. X # X! # @(#)Makefile 5.19.9 (2.11BSD GTE) 1997/1/10 X # X DESTDIR= X CFLAGS= -O X*************** X*** 12,18 **** X # Programs that live in subdirectories, and have makefiles of their own. X # X SUBDIR= adb ar as awk chflags chpass csh diff disklabel hostname ld login \ X! ls make nm passwd ping sed sh sysctl test tp X X # Shell scripts that need only be installed and are never removed. X # X--- 12,18 ---- X # Programs that live in subdirectories, and have makefiles of their own. X # X SUBDIR= adb ar as awk chflags chpass csh diff disklabel hostname ld login \ X! ls make nm passwd ping sed sh sysctl tcsh test tp X X # Shell scripts that need only be installed and are never removed. X # X*** /usr/src/man/man8/Makefile.old Fri Nov 22 20:09:54 1996 X--- /usr/src/man/man8/Makefile Fri Jan 10 22:27:46 1997 X*************** X*** 14,20 **** X # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED X # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. X # X! # @(#)Makefile 5.4.6 (2.11BSD) 1996/11/16 X # X MDIR= /usr/man/cat8 X SRCS= XNSrouted.8 adduser.8 autoconfig.8 \ X--- 14,20 ---- X # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED X # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. X # X! # @(#)Makefile 5.4.7 (2.11BSD) 1997/1/10 X # X MDIR= /usr/man/cat8 X SRCS= XNSrouted.8 adduser.8 autoconfig.8 \ X*************** X*** 23,29 **** X drtest.8 dump.8 dumpdir.8 \ X format.8 fsck.8 \ X getty.8 htable.8 \ X! init.8 intro.8 lpc.8 lpd.8 makedev.8 \ X makekey.8 \ X named.8 pac.8 \ X rc.8 rdump.8 \ X--- 23,29 ---- X drtest.8 dump.8 dumpdir.8 \ X format.8 fsck.8 \ X getty.8 htable.8 \ X! intro.8 lpc.8 lpd.8 makedev.8 \ X makekey.8 \ X named.8 pac.8 \ X rc.8 rdump.8 \ X*************** X*** 38,44 **** X drtest.0 dump.0 dumpdir.0 \ X format.0 fsck.0 \ X getty.0 htable.0 \ X! init.0 intro.0 lpc.0 lpd.0 makedev.0 \ X makekey.0 \ X named.0 pac.0 \ X rc.0 rdump.0 \ X--- 38,44 ---- X drtest.0 dump.0 dumpdir.0 \ X format.0 fsck.0 \ X getty.0 htable.0 \ X! intro.0 lpc.0 lpd.0 makedev.0 \ X makekey.0 \ X named.0 pac.0 \ X rc.0 rdump.0 \ X*** /usr/src/new/Makefile.old Sun Dec 1 17:51:08 1996 X--- /usr/src/new/Makefile Fri Jan 10 22:13:28 1997 X*************** X*** 9,25 **** X # X # Default programs that are installed X # X! STDINST=ansi bm checkobj jove l11 la m11 nmcoll oldassn \ X! patch pathalias rcs shar shortc tcsh vmsbackup X X # X # Special purpose software that requires custom installation, X # or may not be needed by all sites X # X! OPTDIR= crash oldassn kermit5.188 pathalias rcs rn notes nntp X X! SUBDIR= ansi bm checkobj crash jove kermit5.188 l11 la m11 nmcoll nntp \ X! notes oldassn patch pathalias rcs rn shar shortc tcsh \ X vmsbackup X X all: ${STDINST} X--- 9,25 ---- X # X # Default programs that are installed X # X! STDINST=ansi bm jove l11 la m11 \ X! pathalias rcs vmsbackup X X # X # Special purpose software that requires custom installation, X # or may not be needed by all sites X # X! OPTDIR= crash kermit5.188 pathalias rcs rn notes nntp X X! SUBDIR= ansi bm crash jove kermit5.188 l11 la m11 nntp \ X! notes pathalias rcs rn \ X vmsbackup X X all: ${STDINST} X*** /usr/src/usr.bin/Makefile.old Wed Nov 27 21:35:25 1996 X--- /usr/src/usr.bin/Makefile Fri Jan 10 22:00:55 1997 X*************** X*** 1,4 **** X! # Makefile 1.6 (2.11BSD GTE) 1996/11/19 X # X DESTDIR= X CFLAGS= -O X--- 1,4 ---- X! # Makefile 1.7 (2.11BSD GTE) 1997/1/10 X # X DESTDIR= X CFLAGS= -O X*************** X*** 8,15 **** X # X SUBDIR= at calendar dc diction diff3 eqn fstat f77 find graph learn lex lint \ X m4 neqn plot printf prof ranlib ratfor refer roff spell struct tbl \ X! mkerrlst \ X! renice tip uucp uname whereis yacc xargs xinstall X X # Shell scripts that need only be installed and are never removed. X # X--- 8,15 ---- X # X SUBDIR= at calendar dc diction diff3 eqn fstat f77 find graph learn lex lint \ X m4 neqn plot printf prof ranlib ratfor refer roff spell struct tbl \ X! mkerrlst patch \ X! renice shar tip uucp uname whereis yacc xargs xinstall X X # Shell scripts that need only be installed and are never removed. X # X*** /usr/src/sbin/Makefile.old Sat Nov 30 11:05:17 1996 X--- /usr/src/sbin/Makefile Fri Jan 10 19:56:49 1997 X*************** X*** 1,7 **** X # X # Public domain - 1996/10/26 - sms X # X! # @(#)Makefile 1.1 (2.11BSD) 1996/11/16 X # X DESTDIR= X CFLAGS= -O X--- 1,7 ---- X # X # Public domain - 1996/10/26 - sms X # X! # @(#)Makefile 1.2 (2.11BSD) 1997/1/10 X # X DESTDIR= X CFLAGS= -O X*************** X*** 8,14 **** X SEPFLAG= -i X X SUBDIR= XNSrouted badsect clri dcheck dmesg dump dumpfs fsck icheck \ X! ifconfig mkfs mknod mkpasswd mount ncheck newfs \ X quotacheck reboot restor route routed savecore \ X shutdown slattach swapon testnet tunefs umount X X--- 8,14 ---- X SEPFLAG= -i X X SUBDIR= XNSrouted badsect clri dcheck dmesg dump dumpfs fsck icheck \ X! ifconfig init mkfs mknod mkpasswd mount ncheck newfs \ X quotacheck reboot restor route routed savecore \ X shutdown slattach swapon testnet tunefs umount X X*** /usr/src/usr.bin/patch/Makefile.old Sun Jan 28 17:58:55 1996 X--- /usr/src/usr.bin/patch/Makefile Sun Jan 12 11:18:27 1997 X*************** X*** 1,5 **** X # X! # patch Makefile. Revised 1996/1/28 X # X DESTDIR= X X--- 1,5 ---- X # X! # patch Makefile. Revised 1997/1/12 X # X DESTDIR= X X*************** X*** 21,28 **** X cc ${SEPFLAG} ${OBJS} -o patch X X install: patch patch.0 X! install patch ${DESTDIR}/usr/new X! install -m 444 -o bin -g bin patch.0 ${DESTDIR}/usr/new/man/cat1 X X clean: X rm -f *.o *.orig core tags patch *.0 X--- 21,28 ---- X cc ${SEPFLAG} ${OBJS} -o patch X X install: patch patch.0 X! install patch ${DESTDIR}/usr/bin X! install -m 444 -o bin -g bin patch.0 ${DESTDIR}/usr/man/cat1 X X clean: X rm -f *.o *.orig core tags patch *.0 X*** /usr/src/usr.bin/shar/Makefile.old Sun Jan 28 18:13:29 1996 X--- /usr/src/usr.bin/shar/Makefile Sun Jan 12 11:25:17 1997 X*************** X*** 1,5 **** X # X! # shar Makefile. Revised 1996/1/28 X # X DESTDIR= X X--- 1,5 ---- X # X! # shar Makefile. Revised 1997/1/12 X # X DESTDIR= X X*************** X*** 9,21 **** X SRCS= shar.c traverse.c X OBJS= shar.o traverse.o X X! .SUFFIXES: .1 .0 X X .1.0: X /usr/man/manroff $*.1 > $*.0 X X! all: shar traverse shar.0 X X shar: ${OBJS} Makefile X cc ${CFLAGS} ${SEPFLAG} -o shar ${OBJS} X X--- 9,24 ---- X SRCS= shar.c traverse.c X OBJS= shar.o traverse.o X X! .SUFFIXES: .3 .1 .0 X X .1.0: X /usr/man/manroff $*.1 > $*.0 X X! .3.0: X! /usr/man/manroff $*.3 > $*.0 X X+ all: shar traverse shar.0 traverse.0 X+ X shar: ${OBJS} Makefile X cc ${CFLAGS} ${SEPFLAG} -o shar ${OBJS} X X*************** X*** 26,34 **** X lint -h ${SRCS} X X install: shar shar.0 X! install -s shar ${DESTDIR}/usr/new/shar X! install -s traverse ${DESTDIR}/usr/new/traverse X! install -c -m 444 -o bin -g bin shar.0 ${DESTDIR}/usr/new/man/cat1 X X tags: ${SRCS} X ctags $< X--- 29,38 ---- X lint -h ${SRCS} X X install: shar shar.0 X! install -s shar ${DESTDIR}/usr/bin/shar X! install -s traverse ${DESTDIR}/usr/bin/traverse X! install -c -m 444 -o bin -g bin shar.0 ${DESTDIR}/usr/man/cat1 X! install -c -m 444 -o bin -g bin traverse.0 ${DESTDIR}/usr/man/cat3 X X tags: ${SRCS} X ctags $< X*** /VERSION.old Mon Dec 23 16:55:33 1996 X--- /VERSION Fri Jan 10 20:13:26 1997 X*************** X*** 1,4 **** X! Current Patch Level: 360 X X 2.11 BSD X ============ X--- 1,4 ---- X! Current Patch Level: 361 X X 2.11 BSD X ============ SHAR_EOF chmod 644 '361.patch' fi if test -f '361.shar' then echo shar: "will not over-write existing file '361.shar'" else sed 's/^X//' << \SHAR_EOF > '361.shar' X#! /bin/sh X# This is a shell archive, meaning: X# 1. Remove everything above the #! /bin/sh line. X# 2. Save the resulting text in a file. X# 3. Execute the file with /bin/sh (not csh) to create: X# /usr/src/etc X# /usr/src/sbin/init/Makefile X# This archive created: Fri Jan 10 22:41:02 1997 Xexport PATH; PATH=/bin:/usr/bin:$PATH Xif test ! -d '/usr/src/etc' Xthen X mkdir '/usr/src/etc' Xfi Xcd '/usr/src/etc' Xif test ! -d 'root' Xthen X mkdir 'root' Xfi Xcd 'root' Xif test -f 'dot.cshrc' Xthen X echo shar: "will not over-write existing file 'dot.cshrc'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'dot.cshrc' XZset history=30 XZset path=(/bin /sbin /etc /usr/sbin /usr/ucb /usr/bin /usr/new /usr/local) XZif ($?prompt) then XZ set prompt="\!% " XZendif XZ XZset filec XZset mail=( 0 /usr/spool/mail/$USER ) XZset cdpath=( ~ /usr/spool/mqueue) XZset prompt="\!% root--> " XZalias mail /usr/ucb/Mail XZalias pwd 'echo $cwd' XZalias h history XZalias q5 'tail -5 /usr/spool/mqueue/syslog' XSHAR_EOF Xchmod 640 'dot.cshrc' Xfi Xif test -f 'dot.login' Xthen X echo shar: "will not over-write existing file 'dot.login'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'dot.login' XZunset noglob XZset path=(/bin /etc /sbin /usr/sbin /usr/ucb /usr/bin /usr/local /usr/new) XZumask 26 XZstty dec erase ^H kill ^U eof ^D XZset prompt="[\!] root--> " XZ XZif ( "$TERM" == dialup || "$TERM" == network) then XZ setenv TERM vt100 XZ echo -n "Terminal ($TERM)? " XZ set argv = "$<" XZ if ( "$argv" != '' ) setenv TERM "$argv" XZendif XZ XZbiff y XSHAR_EOF Xchmod 644 'dot.login' Xfi Xif test -f 'dot.profile' Xthen X echo shar: "will not over-write existing file 'dot.profile'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'dot.profile' XZecho 'erase, kill ^U, intr ^C' XZstty dec XZstty erase XZPATH=/bin:/sbin:/usr/sbin:/etc:/usr/ucb:/usr/bin:/usr/new XZexport PATH XZHOME=/ XZexport HOME XZexport TERM XSHAR_EOF Xchmod 644 'dot.profile' Xfi Xif test -f 'Makefile' Xthen X echo shar: "will not over-write existing file 'Makefile'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'Makefile' XZ# XZ# Public domain - 1997/1/10 - sms XZ# XZ# @(#)Makefile 1.0 (2.11BSD) 1997/1/10 XZ# XZ# DESTDIR is defined here to be something which does *NOT* exist - it must be XZ# specified on the command line when doing a "make DESTDIR=/mnt distribution". XZ# This is aimed at avoiding overwriting the system disk's /etc files. XZ XZDESTDIR=/foobar XZOWN=root XZGRP=wheel XZ XZall install depend lint clean tags: XZ XZdistribution: XZ install -c -o ${OWN} -g ${GRP} -m 644 dot.cshrc ${DESTDIR}/.cshrc XZ install -c -o ${OWN} -g ${GRP} -m 644 dot.login ${DESTDIR}/.login XZ install -c -o ${OWN} -g ${GRP} -m 644 dot.profile ${DESTDIR}/.profile XSHAR_EOF Xchmod 644 'Makefile' Xfi Xchmod 755 . Xcd .. Xif test ! -d 'uucp' Xthen X mkdir 'uucp' Xfi Xcd 'uucp' Xif test -f 'L-devices' Xthen X echo shar: "will not over-write existing file 'L-devices'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'L-devices' XZACU ttyS7 unused 2400 hayestone "" AT OK "" XSHAR_EOF Xchmod 644 'L-devices' Xfi Xif test -f 'L-dialcodes' Xthen X echo shar: "will not over-write existing file 'L-dialcodes'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'L-dialcodes' XZnj 1-201- XZbostn 1-617 XSHAR_EOF Xchmod 644 'L-dialcodes' Xfi Xif test -f 'L.cmds' Xthen X echo shar: "will not over-write existing file 'L.cmds'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'L.cmds' XZrmail XZwho XZuucp XZuucico XSHAR_EOF Xchmod 644 'L.cmds' Xfi Xif test -f 'L.sys' Xthen X echo shar: "will not over-write existing file 'L.sys'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'L.sys' XZmoe Any TCP uucp moe.iipo.gtegsc.com login: usms assword: fizzbin XZmoe Polled TCP uucp moe.iipo.gtegsc.com XSHAR_EOF Xchmod 600 'L.sys' Xfi Xif test -f 'L_stat' Xthen X echo shar: "will not over-write existing file 'L_stat'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'L_stat' XSHAR_EOF Xchmod 640 'L_stat' Xfi Xif test -f 'L_sub' Xthen X echo shar: "will not over-write existing file 'L_sub'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'L_sub' XSHAR_EOF Xchmod 640 'L_sub' Xfi Xif test -f 'SEQF' Xthen X echo shar: "will not over-write existing file 'SEQF'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'SEQF' XZ3Qf0 XZ XSHAR_EOF Xchmod 640 'SEQF' Xfi Xif test -f 'USERFILE' Xthen X echo shar: "will not over-write existing file 'USERFILE'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'USERFILE' XZ, /usr/spool/uucppublic XSHAR_EOF Xchmod 644 'USERFILE' Xfi Xif test -f 'clean.daily' Xthen X echo shar: "will not over-write existing file 'clean.daily'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'clean.daily' XZ#!/bin/csh -f XZ# XZ# Once a day, move the log files to the archive directory, XZ# keep them for 30 days, and then get rid of them. XZ# XZset files=( SYSLOG LOGFILE ERRLOG ) XZset days=30 XZset spooldir=/usr/spool/uucp XZset archdir=uucplog.archives XZ# XZif ( ! -e $archdir ) mkdir $archdir XZcd $spooldir XZ# XZ# get today's files out of the way immediately XZ# XZforeach file ( $files ) XZ mv $file o$file XZ cp /dev/null $file XZ chmod 664 $file XZend XZ# XZ# now move things around in the archive directory XZ# XZforeach file ( $files ) XZ set x=$days XZ while($x > 0) XZ @ y = $x - 1 XZ if ($x == $days) rm $archdir/$file.$x XZ mv -f $archdir/$file.$y $archdir/$file.$x XZ @ x -- XZ end XZ mv o$file $archdir/$file.0 XZend XZ XZ# this assumes you have subdirectories. XZ# If you do not have them, delete the '-d....' options below. XZ# someone should use shell variables to do this XZ# Much better to have subdirectories, however. XZ XZ/usr/sbin/uuclean -pLTMP. -n24 XZ/usr/sbin/uuclean -d/usr/spool/uucp/TM. -pTM. -n240 XZ/usr/sbin/uuclean -d/usr/spool/uucp/X. -pX. -n240 XZ/usr/sbin/uuclean -d/usr/spool/uucp/C. -pC. -n240 XZ/usr/sbin/uuclean -d/usr/spool/uucp/D. -pD. -n240 XZ/usr/sbin/uuclean -d/usr/spool/uucp/D.`uuname -l` -pD. -n240 XZ/usr/sbin/uuclean -d/usr/spool/uucp/D.`uuname -l`X -pD. -n240 XSHAR_EOF Xchmod 755 'clean.daily' Xfi Xif test -f 'clean.weekly' Xthen X echo shar: "will not over-write existing file 'clean.weekly'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'clean.weekly' XZ#!/bin/csh -f XZ# XZ# Once a week, produce a report and mail to people XZ# XZset people=( sms ) XZset spooldir=/usr/spool/uucp XZset archdir=uucplog.archives XZ XZcd $spooldir/$archdir XZnice +5 awk -f /etc/uucp/sys_awk SYSLOG.[0-6] >& weekly_report XZMail -s "Weekly UUCP Report" $people < weekly_report XSHAR_EOF Xchmod 755 'clean.weekly' Xfi Xif test -f 'uucp-map' Xthen X echo shar: "will not over-write existing file 'uucp-map'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'uucp-map' XSHAR_EOF Xchmod 644 'uucp-map' Xfi Xif test -f 'Makefile' Xthen X echo shar: "will not over-write existing file 'Makefile'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'Makefile' XZ# XZ# Public domain - 1997/1/10 - sms XZ# XZ# @(#)Makefile 1.0 (2.11BSD) 1997/1/10 XZ# XZ# DESTDIR is defined here to be something which does *NOT* exist - it must be XZ# specified on the command line when doing a "make DESTDIR=/mnt distribution". XZ# This is aimed at avoiding overwriting the system disk's /etc files. XZ XZDESTDIR=/foobar XZ XZOWN=uucp XZGRP=daemon XZ XZFILES= L-devices L-dialcodes L.cmds L.sys L_stat L_sub SEQF USERFILE \ XZ clean.daily clean.weekly uucp-map XZ XZall install depend lint clean tags: XZ XZdistribution: XZ -rm -rf ${DESTDIR}/etc/uucp XZ mkdir ${DESTDIR}/etc/uucp XZ chown uucp.daemon ${DESTDIR}/etc/uucp XZ chmod 755 ${DESTDIR}/etc/uucp XZ install -c -o ${OWN} -g ${GRP} -m 644 ${FILES} ${DESTDIR}/etc/uucp XZ chmod 600 ${DESTDIR}/etc/uucp/L.sys XZ chmod 640 ${DESTDIR}/etc/uucp/L_stat ${DESTDIR}/etc/uucp/L_sub XZ chmod 640 ${DESTDIR}/etc/uucp/SEQF XZ chmod 755 ${DESTDIR}/etc/uucp/clean.* XSHAR_EOF Xchmod 644 'Makefile' Xfi Xchmod 755 . Xcd .. Xif test -f 'aliases' Xthen X echo shar: "will not over-write existing file 'aliases'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'aliases' XZ# XZ# Aliases in this file will NOT be expanded in the header from XZ# Mail, but WILL be visible over networks or from /bin/mail. XZ# XZ# >>>>>>>>>> The program "newaliases" must be run after XZ# >> NOTE >> this file is updated for any changes to XZ# >>>>>>>>>> show through to sendmail. XZ# XZ# Individual users can forward their mail using a .forward file XZ# in their home directory; this is preferable to using an alias. XZ# XZ XZ# Basic system aliases -- these MUST be present XZMAILER-DAEMON:postmaster XZpostmaster:root XZhelp:root XZsysadmin:root XZ XZ# Aliases to handle mail to msgs and news XZmsgs: "|/usr/ucb/msgs -s" XZrnews:"|/usr/local/uurec" XSHAR_EOF Xchmod 644 'aliases' Xfi Xif test -f 'crontab' Xthen X echo shar: "will not over-write existing file 'crontab'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'crontab' XZ0,15,30,45 * * * * root /usr/libexec/atrun XZ5 0 * * * root /bin/sh /usr/adm/daily 2>&1 | mail root XZ15 0 * * 7 root /bin/sh /usr/adm/weekly 2>&1 | mail root XZ35 0 1 * * root /bin/sh /usr/adm/monthly 2>&1 | mail root XSHAR_EOF Xchmod 644 'crontab' Xfi Xif test -f 'disktab' Xthen X echo shar: "will not over-write existing file 'disktab'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'disktab' XZ# @(#)disktab 1.3 (2.11BSD) 1995/12/05 XZ# XZ# Disk geometry and partition layout tables. XZ# Key: XZ# dt controller type XZ# ty type of disk (fixed, removeable, simulated) XZ# d[0-4] drive-type-dependent parameters XZ# ns #sectors/track XZ# nt #tracks/cylinder XZ# nc #cylinders/disk XZ# sc #sectors/cylinder, nc*nt default XZ# su #sectors/unit, sc*nc default XZ# se sector size, 512 default (getdiskbyname always sets 512) XZ# rm rpm, 3600 default XZ# sf supports bad144-style bad sector forwarding XZ# sk sector skew per track, default 0 XZ# cs sector skew per cylinder, default 0 XZ# hs headswitch time, default 0 XZ# ts one-cylinder seek time, default 0 XZ# il sector interleave (n:1), 1 default XZ# bs boot block size, default BBSIZE (getdiskbyname returns BBSIZE) XZ# sb superblock size, default SBSIZE (getdiskbyname returns SBSIZE) XZ# b0 block zero dead start primary bootstrap XZ# o[a-h] partition offsets in sectors XZ# p[a-h] partition sizes in sectors XZ# b[a-h] partition block sizes in bytes XZ# f[a-h] partition fragment sizes in bytes XZ# t[a-h] partition types (filesystem, swap, etc) XZ# XZ# On drives that contain bad-sector replacement areas the 'h' (and in some XZ# cases 'c') partitions do NOT overlap the bad-sector track. XZ# XZ# Entries may also be used for other compatible drives XZ# with the same geometry. XZ XZ# XZ# Drives on xp XZ# XZ# These partition tables are a mess. Several of them overlap the bad XZ# sector area, others do not overlap but end up with not cylinder sized XZ# filesystems. Many of these aren't even in use any longer. A couple XZ# did not even match the tables that were in the kernel. XZ# XZ# I've done my best to match these up with the old partition tables in XZ# the 'xp' driver but a typo or arithmetic error could easily have crept in. XZ# XZ XZ# RM02/03 - 'c' and 'h' partitions are whole drive except bad sector track. XZ# XZrm02|RM02|rm03|RM03|DEC RM02/03:\ XZ :ty=removable:ns#32:nt#5:nc#823:sf:\ XZ :b0=/mdec/rm03uboot:\ XZ :pa#9600:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#9600:ob#9600:bb#1024:fb#1024:tb=swap:\ XZ :pc#131520:oc#0:bc#1024:fc#1024:\ XZ :pf#121920:of#9600:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#112320:og#19200:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#131520:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZ# RM05: XZrm05|RM05|cdc9766|CDC9766|9766|DEC RM05, CDC 9766:\ XZ :ty=removable:ns#32:nt#19:nc#823:sf:\ XZ :b0=/mdec/rm05uboot:\ XZ :pa#9120:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#9120:ob#9120:bb#1024:fb#1024:tb=swap:\ XZ :pc#234080:oc#18240:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#247906:od#252320:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#164160:oe#18240:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#152000:of#182400:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#165826:og#334400:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#500226:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZ9775|CDC 9775:\ XZ :ty=fixed:ns#32:nt#40:nc#842:sf:\ XZ :pa#10240:oa#0:ba#1024:fa#1024:ty=2.11BSD:\ XZ :pb#10240:ob#10240:bb#1024:fb#1024:tb=swap:\ XZ :pc#510720:oc#20480:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#541440:od#531200:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#363520:oe#20480:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#320000:of#384000:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#368640:og#704000:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1072640:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZ# EATON BR1537 or 1711 controller. The CSR set looks like an RP03, XZ# that's about all. XZ# XZbr1538d|BR1538D|EATON 1538D, 1711:\ XZ :ty=removable:ns#32:nt#19:nc#815:so:\ XZ :b0=/mdec/bruboot:\ XZ :pa#18240:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#12160:ob#18240:bb#1024:fb#1024:tb=swap:\ XZ :pc#232256:oc#30400:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#232256:od#262656:bd#4096:fd#1024:td=2.11BSD:\ XZ :ph#494912:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrp04|RP04|rp05|RP05|DEC RP04/05:\ XZ :ty=removable:ns#22:nt#19:nc#411:sf:\ XZ :b0=/mdec/hpuboot:\ XZ :pa#9614:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8778:ob#9614:bb#1024:fb#1024:tb=swap:\ XZ :pc#152988:oc#18392:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#171650:og#0:bg#1024:fg#1024:tg=2.11BSD XZ XZrp06|RP06|DEC RP06:\ XZ :ty=removable:ns#22:nt#19:nc#815:sf:\ XZ :b0=/mdec/hpuboot:\ XZ :pa#9614:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8778:ob#9614:bb#1024:fb#1024:tb=swap:\ XZ :pc#153406:oc#18392:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#168724:od#171798:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#322130:oe#18392:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#171798:og#0:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#340522:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrp07|RP07|DEC RP07:\ XZ :ty=fixed:ns#50:nt#32:nc#630:sf:\ XZ :b0=/mdec/hpuboot:\ XZ :pa#19200:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#51200:ob#19200:bb#1024:fb#1024:tb=swap:\ XZ :pc#1006400:oc#0:bc#1024:fc#1024:\ XZ :pd#320000:od#70400:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#320000:oe#390400:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#296000:of#710400:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#936000:og#70400:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1006400:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrm2x|160|fuji|fuji160|Fujitsu 160:\ XZ :ty=fixed:ns#32:nt#10:nc#823:sf:\ XZ :b0=/mdec/si94uboot:\ XZ :pa#9600:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#9600:ob#9600:bb#1024:fb#1024:tb=swap:\ XZ :pc#244160:oc#19200:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#164800:od#19200:bd#1024:fd#1024:td=unused:\ XZ :pe#79360:oe#184000:be#1024:fe#1024:te=unused:\ XZ :pf#39680:of#184000:bf#1024:ff#1024:tf=unused:\ XZ :pg#39680:og#223680:bg#1024:fg#1024:tg=unused:\ XZ :ph#263360:oh#0:bh#1024:fh#1024:th=unused XZ XZdiva|DIVA|9300|Diva Comp V, Ampex 9300 (in direct mode):\ XZ :ty=fixed:ns#33:nt#19:nc#815:sf:\ XZ :b0=/mdec/dvhpuboot:\ XZ :pa#9405:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#9405:ob#9405:bb#1024:fb#1024:tb=swap:\ XZ :pc#241395:oc#18810:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#250641:od#260205:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#169290:oe#18810:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#156750:of#188100:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#165996:og#344850:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#510846:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZ330|capricorn|Capricorn|Ampex Capricorn:\ XZ :ty=fixed:ns#32:nt#16:nc#1024:sf:\ XZ :pa#16384:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#33792:ob#16384:bb#1024:fb#1024:tb=swap:\ XZ :pc#291840:oc#50176:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#16384:od#342016:bd#4096:fd#1024:td=2.11BSD:\ XZ :pe#56320:oe#358400:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#107008:of#414720:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#179712:og#342016:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#521728:bh#1024:fh#1024:th=2.11BSD XZ XZsi_eagle|SI_Eagle|2351|2351A|Fujitsu Eagle 2351A (48 sectors):\ XZ :ty=fixed:ns#48:nt#20:nc#842:rm#3961:sf:\ XZ :b0=/mdec/si51uboot:\ XZ :pa#11520:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#11520:ob#11520:bb#1024:fb#1024:tb=swap:\ XZ :pc#474240:oc#23040:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#92160:od#497280:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#218880:oe#589440:be#1024:fd#1024:te=2.11BSD:\ XZ :ph#803520:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZsi9766|si9766|CDC 9766 on SI 9500 controller:\ XZ :ty=removable:ns#32:nt#19:nc#823:sf:\ XZ :b0=/mdec/si95uboot:\ XZ :pa#9120:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#9120:ob#9120:bb#1024:fb#1024:tb=swap:\ XZ :pc#234080:oc#18240:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#244866:od#252320:bd#4096:fd#1024:td=2.11BSD:\ XZ :pe#164160:oe#18240:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#152000:of#182400:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#162786:og#334400:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#497344:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrk06|RK06|DEC RK06:\ XZ :ty=removable:ns#22:nt#3:nc#411:sf:\ XZ :b0=/mdec/hkuboot:\ XZ :pa#8316:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8316:ob#8316:bb#1024:fb#1024:tb=swap:\ XZ :pc#27126:oc#0:bc#1024:fc#1024:tc=unused:\ XZ :pg#10428:og#16632:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#27060:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrk07|RK07|DEC RK07:\ XZ :ty=removable:ns#22:nt#3:nc#815:sf:bt=hkuboot:\ XZ :b0=/mdec/hkuboot:\ XZ :pa#8316:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8316:ob#8316:bb#1024:fb#1024:tb=swap:\ XZ :pc#53790:oc#0:bc#1024:fc#1024:tc=unused:\ XZ :pg#37092:og#16632:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#53724:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZ# The RL02 and RL01 have 256 byte sectors, getdiskbyname ignores 'se' XZ# (thankfully) but partitions are still in units of 512-byte sectors. XZrl01|RL01|DEC RL01:\ XZ :ty=removable:se#256:ns#20:nt#2:nc#256:\ XZ :b0=/mdec/rluboot:\ XZ :ph#10240:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrl02|RL02|DEC RL02:\ XZ :ty=removable:se#256:ns#20:nt#2:nc#512:\ XZ :b0=/mdec/rluboot:\ XZ :pa#15360:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#5120:ob#15360:bb#1024:fb#1024:tb=swap:\ XZ :ph#20480:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrk05|RK05|DEC RK05:\ XZ :ty=removable:ns#12:nt#2:nc#203:bt=rkuboot:\ XZ :b0=/mdec/rkuboot:\ XZ :ph#4872:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZ# XZ# Disks on a UDA50 XZ# XZ XZra60|RA60|DEC RA60 Removable|OLD STYLE PARTITIONS:\ XZ :dt=MSCP:ty=removable:ns#42:nt#4:nc#2382:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#33440:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#193282:oc#49324:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#15884:od#242606:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#140686:oe#258490:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#156570:og#242606:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#399176:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZra80|RA80|DEC RA80 Winchester|OLD STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#31:nt#14:nc#559:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#33440:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#186888:oc#49324:bc#1024:fc#1024:tc=2.11BSD:\ XZ :ph#236212:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZra81|RA81|DEC RA81 Winchester|OLD STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#51:nt#14:nc#1248:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#33440:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#193282:oc#49324:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#15884:od#242606:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#307200:oe#258490:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#324382:of#565690:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#647466:og#242606:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#890072:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZra81x|RA81X|Extended DEC RA81 Winchester|OLD STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#51:nt#14:nc#1815:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#33440:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#193282:oc#49324:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pd#15884:od#242606:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#307200:oe#258490:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#728952:of#565690:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#1052036:og#242606:bg#1024:fg#1024:\ XZ :ph#1294642:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrd52|RD52|DEC RD52|OLD STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#18:nt#7:nc#480:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#9700:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#17300:ob#9700:bb#1024:fb#1024:tb=2.11BSD:\ XZ :pc#3100:oc#27000:bc#1024:fc#1024:tc=swap:\ XZ :pd#30348:od#30100:bd#1024:fd#1024:td=2.11BSD:\ XZ :pg#50748:og#9700:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#60448:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrd53|RD53||DEC RD53|OLD STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#18:nt#8:nc#963:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#9700:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#17300:ob#9700:bb#1024:fb#1024:tb=2.11BSD:\ XZ :pc#3100:oc#27000:bc#1024:fc#1024:tc=swap:\ XZ :pd#108540:od#30100:bd#1024:fd#1024:td=2.11BSD:\ XZ :pg#128940:og#9700:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#138640:oh#0:bh#1024:fh#1024:th=2.11BSD XZ XZrc25|RC25|rcf25|RCF25|DEC RC25 and RC25F:\ XZ :dt=MSCP:ty=removable:ns#42:nt#4:nc#2382:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#50902:oc#0:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#26658:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrd31|RD31|DEC RD31:\ XZ :dt=MSCP:ty=fixed:ns#17:nt#4:nc#615:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#41560:oc#0:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#17316:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrd32|RD32|DEC RD32:\ XZ :dt=MSCP:ty=fixed:ns#17:nt#6:nc#820:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#83236:oc#0:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#58992:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrd33|RD33|DEC RD33:\ XZ :dt=MSCP:ty=fixed:ns#17:nt#7:nc#1170:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#138565:oc#0:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#114321:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrd51|RD51|DEC RD51:\ XZ :dt=MSCP:ty=fixed:ns#18:nt#4:nc#300:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#5716:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#21600:oc#0:bc#1024:fc#1024:tc=2.11BSD XZ XZrd52new|RD52new|DEC RD52|NEW STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#18:nt#7:nc#480:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#60480:oc#0:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#36236:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrd53new|RD53new|DEC RD53|NEW STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#17:nt#8:nc#1024:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#138672:oc#0:bc#1024:fc#1024:tc=2.11BSD:\ XZ :pg#114428:og#24244:bg#1024:fg#1024:tg=2.11BSD\ XZ XZrd54|RD54|DEC RD54:\ XZ :dt=MSCP:ty=fixed:ns#17:nt#15:nc#1221:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#311200:oc#0:bc#1024:fc#1024:tc=unused:\ XZ :pg#278596:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZrx23|RX23|DEC RX23:\ XZ :dt=MSCP:ty=floppy:ns#18:nt#2:nc#80:\ XZ :b0=/mdec/rauboot:\ XZ :pa#2880:oa#0:ba#1024:fa#1024:ta=2.11BSD XZ XZrx26|RX26|DEC RX26:\ XZ :dt=MSCP:ty=floppy:ns#36:nt#2:nc#80:\ XZ :b0=/mdec/rauboot:\ XZ :pa#5760:oa#0:ba#1024:fa#1024:ta=2.11BSD XZ XZrx33|RX33|DEC RX33:\ XZ :dt=MSCP:ty=floppy:ns#15:nt#2:nc#80:\ XZ :b0=/mdec/rauboot:\ XZ :pa#2400:oa#0:ba#1024:fa#1024:ta=2.11BSD XZ XZrx50|RX50|DEC RX50:\ XZ :dt=MSCP:ty=removable:ns#10:nt#1:nc#80:\ XZ :b0=/mdec/rauboot:\ XZ :pa#800:oa#0:ba#1024:fa#1024:2.11BSD XZ XZra60new|RA60new|DEC RA60|NEW STYLE PARTITIONS:\ XZ :dt=MSCP:ty=removable:ns#42:nt#4:nc#2382:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#400176:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#140436:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#367572:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZra70|RA70|DEC RA70:\ XZ :dt=MSCP:ty=fixed:ns#33:nt#11:nc#1507:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#547041:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#287301:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#514437:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZra71|RA71|DEC RA71:\ XZ :dt=MSCP:ty=fixed:ns#51:nt#14:nc#1915:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#1367310:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#515506:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZra72|RA72|DEC RA72:\ XZ :dt=MSCP:ty=fixed:ns#51:nt#20:nc#1915:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#1953300:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1101496:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZra73|RA73|DEC RA73:\ XZ :dt=MSCP:ty=fixed:ns#70:nt#21:nc#2667:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#3920490:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#3068686:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZra80new|RA80new|DEC RA80|NEW STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#31:nt#14:nc#546:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#237212:oc#0:bc#1024:fc#1024:\ XZ :pg#204608:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZra81new|RA81new|DEC RA81|NEW STYLE PARTITIONS:\ XZ :dt=MSCP:ty=fixed:ns#51:nt#14:nc#1248:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#891072:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#39268:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZra82|RA82|DEC RA82:\ XZ :dt=MSCP:ty=fixed:ns#57:nt#15:nc#1423:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#1216665:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#364861:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZra90|RA90|DEC RA90:\ XZ :dt=MSCP:ty=fixed:ns#69:nt#13:nc#2649:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#2376153:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1524349:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZra92|RA92|DEC RA92:\ XZ :dt=MSCP:ty=fixed:ns#69:nt#13:nc#3279:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#2940951:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#2089147:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZrz22|RZ22|DEC RZ22:\ XZ :dt=MSCP:ty=fixed:ns#33:nt#4:nc#776:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#102432:oc#0:bc#1024:fc#1024:\ XZ :pg#78188:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrz23|RZ23|DEC RZ23:\ XZ :dt=MSCP:ty=fixed:ns#33:nt#8:nc#776:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#204864:oc#0:bc#1024:fc#1024:\ XZ :pg#180620:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrz23l|RZ23L|DEC RZ23L:\ XZ :dt=MSCP:ty=fixed:ns#39:nt#4:nc#1524:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#8360:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#237588:oc#0:bc#1024:fc#1024:\ XZ :pg#213344:og#24244:bg#1024:fg#1024:tg=2.11BSD XZ XZrz24|RZ24|DEC RZ24:\ XZ :dt=MSCP:ty=fixed:ns#38:nt#8:nc#1348:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#409792:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#150052:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#377188:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZrz24l|RZ24L|DEC RZ24L:\ XZ :dt=MSCP:ty=fixed:ns#65:nt#4:nc#1818:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#479350:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#219610:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#446746:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZrz25|RZ25|DEC RZ25:\ XZ :dt=MSCP:ty=fixed:ns#62:nt#9:nc#1476:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#832527:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#130590:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#799923:og#32604:bg#1024:fg#1024:tg=2.11BSD: XZ XZrz26|RZ26|DEC RZ26:\ XZ :dt=MSCP:ty=fixed:ns#57:nt#14:nc#2570:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#2050860:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1199056:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZrz55|RZ55|DEC RZ55:\ XZ :dt=MSCP:ty=fixed:ns#36:nt#15:nc#1224:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#649040:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#389300:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pg#616436:og#32604:bg#1024:fg#1024:tg=2.11BSD XZ XZrz56|RZ56|DEC RZ56:\ XZ :dt=MSCP:ty=fixed:ns#54:nt#15:nc#1632:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#1299174:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#447370:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZrz57|RZ57|DEC RZ57:\ XZ :dt=MSCP:ty=fixed:ns#71:nt#15:nc#1854:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16720:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#1954050:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1102246:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZrz58|RZ58|DEC RZ58:\ XZ :dt=MSCP:ty=fixed:ns#85:nt#15:nc#2112:so:\ XZ :b0=/mdec/rauboot:\ XZ :pa#15884:oa#0:ba#1024:fa#1024:ta=2.11BSD:\ XZ :pb#16270:ob#15884:bb#1024:fb#1024:tb=swap:\ XZ :pc#2698061:oc#0:bc#1024:fc#1024:\ XZ :pd#227136:od#32604:bd#1024:fd#1024:td=2.11BSD:\ XZ :pe#409600:oe#259740:be#1024:fe#1024:te=2.11BSD:\ XZ :pf#182464:of#669340:bf#1024:ff#1024:tf=2.11BSD:\ XZ :pg#819200:og#32604:bg#1024:fg#1024:tg=2.11BSD:\ XZ :ph#1846257:oh#851804:bh#1024:fh#1024:th=2.11BSD XZ XZ# The RX driver uses partition 'a' to select single density and 'b' to XZ# select double density. Partition sizes are in units of 512-byte sectors XZ# even though the rx01 uses 128 byte hardware sectors and the rx02 256 byte XZ# sectors. This really doesn't work too well for the RX01 due to the odd XZ# number of sectors - are there any of them still running? XZ XZrx01|RX01|DEC RX01:\ XZ :ty=floppy:se#128:ns#13:nt#1:nc#77:\ XZ :b0=/mdec/rx01uboot:\ XZ :pa#500:ba#1024:fa#1024:\ XZ XZrx02|RX02|DEC RX02:\ XZ :ty=floppy:se#256:ns#13:nt#1:nc#77:\ XZ :b0=/mdec/rx02uboot:\ XZ :pb#1001:bb#1024:fb#1024: XZ XZ# XZ# RAM disk XZ# XZram|RAM|Ram disk:\ XZ :ty=simulated:ns#2:nt#1024:nc#4096: XSHAR_EOF Xchmod 644 'disktab' Xfi Xif test -f 'fstab' Xthen X echo shar: "will not over-write existing file 'fstab'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'fstab' XZ/dev/ra0a / ufs rw 1 1 XZ/dev/ra0b none swap sw 0 0 XZ/dev/ra0d /usr ufs rw 1 2 XZ/dev/ra0e /tmp ufs rw,async 1 3 XZ/dev/ra0f /user ufs rw,quotas 1 4 XZ/dev/ra0g /xxx ufs rw 1 5 XSHAR_EOF Xchmod 644 'fstab' Xfi Xif test -f 'ftpusers' Xthen X echo shar: "will not over-write existing file 'ftpusers'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'ftpusers' XZuucp XZingres XZroot XSHAR_EOF Xchmod 644 'ftpusers' Xfi Xif test -f 'gettytab' Xthen X echo shar: "will not over-write existing file 'gettytab'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'gettytab' XZ# Copyright (c) 1980 Regents of the University of California. XZ# All rights reserved. The Berkeley software License Agreement XZ# specifies the terms and conditions for redistribution. XZ# XZ# @(#)gettytab 5.7.1 (2.11BSD GTE) 12/9/94 XZ# XZ# XZ# Most of the table entries here are just copies of the XZ# old getty table, it is by no means certain, or even likely, XZ# then any of them are optimal for any purpose whatever. XZ# Nor is it likely that more than a couple are even correct XZ# XZ XZ# XZ# The default gettytab entry, used to set defaults for all other XZ# entries, and in cases where getty is called with no table name XZ# XZdefault:\ XZ :ap:fd#1000:im=\r\n\r\n2.11 BSD UNIX (%h) (%t)\r\n\r\r\n\r:sp#1200: XZ XZ# XZ# Fixed speed entries XZ# XZ# The "std.NNN" names are known to the special case XZ# portselector code in getty, however they can XZ# be assigned to any table desired. XZ# The "NNN-baud" names are known to the special case XZ# autobaud code in getty, and likewise can XZ# be assigned to any table desired (hopefully the same speed). XZ# XZa|std.110|110-baud:\ XZ :nd#1:cd#1:sp#110: XZb|std.134|134.5-baud:\ XZ :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: XZ1|std.150|150-baud:\ XZ :ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : XZc|std.300|300-baud:\ XZ :nd#1:cd#1:sp#300: XZd|std.600|600-baud:\ XZ :nd#1:cd#1:sp#600: XZf|std.1200|1200-baud:\ XZ :fd#1:sp#1200: XZ6|std.2400|2400-baud:\ XZ :sp#2400:ht: XZ7|std.4800|4800-baud:\ XZ :sp#4800:ht: XZ2|std.9600|9600-baud:\ XZ :sp#9600: XZg|std.19200|19200-baud:\ XZ :sp#19200: XZ XZ# XZ# Dial in rotary tables, speed selection via 'break' XZ# XZ0|d300|Dial-300:\ XZ :nx=d1200:cd#2:sp#300: XZd1200|Dial-1200:\ XZ :nx=d150:fd#1:sp#1200: XZd150|Dial-150:\ XZ :nx=d110:lm@:tc=150-baud: XZd110|Dial-110:\ XZ :nx=d300:tc=300-baud: XZ XZ# XZ# Odd special case terminals XZ# XZ-|tty33|asr33|Pity the poor user of this beast:\ XZ :tc=110-baud: XZ XZ4|Console|Console Decwriter II:\ XZ :nd@:cd@:rw:tc=300-baud: XZ XZe|Console-1200|Console Decwriter III:\ XZ :fd@:nd@:cd@:rw:tc=1200-baud: XZ XZl|lsi chess terminal:\ XZ :sp#300: XZ XZX|Xwindow|X window system:\ XZ :fd@:nd@:cd@:rw:sp#9600: XZ XZ# XZ# Fast dialup terminals, 2400/1200/300 rotary (can start either way) XZ# XZD2400|Fast-Dial-2400:\ XZ :nx=D1200:tc=2400-baud: XZ3|D1200|Fast-Dial-1200:\ XZ :nx=D300:tc=1200-baud: XZ5|D300|Fast-Dial-300:\ XZ :nx=D2400:tc=300-baud: XZ XZ# XZ# Wierdo special case for fast crt's with hardcopy devices XZ# XZ8|T9600|CRT with hardcopy:\ XZ :nx=T300:tc=9600-baud: XZ9|T300|CRT with hardcopy (300):\ XZ :nx=T9600:tc=300-baud: XZ XZ# XZ# Plugboard, and misc other terminals XZ# XZp|P9600|Plugboard-9600:\ XZ :nx=P300:tc=9600-baud: XZq|P300|Plugboard-300:\ XZ :nx=P1200:tc=300-baud: XZr|P1200|Plugboard-1200:\ XZ :nx=P9600:tc=1200-baud: XZ XZ# XZ# XXXX Port selector XZ# XZs|DSW|Port Selector:\ XZ :ps:sp#2400: XZ XZ# XZ# Auto-baud speed detect entry for Micom 600. XZ# Special code in getty will switch this out XZ# to one of the NNN-baud entries. XZ# XZA|Auto-baud:\ XZ :ab:sp#2400:f0#040: XSHAR_EOF Xchmod 444 'gettytab' Xfi Xif test -f 'group' Xthen X echo shar: "will not over-write existing file 'group'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'group' XZwheel:*:0:root XZdaemon:*:1:daemon XZkmem:*:2: XZsys:*:3: XZtty:*:4: XZoperator:*:5: XZstaff:*:10: XZbin:*:20: XZguest:*:31: XZingres:*:74: XSHAR_EOF Xchmod 444 'group' Xfi Xif test -f 'hosts' Xthen X echo shar: "will not over-write existing file 'hosts'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'hosts' XZ127.0.0.1 localhost.2bsd.com localhost.arpa localhost XSHAR_EOF Xchmod 444 'hosts' Xfi Xif test -f 'hosts.allow' Xthen X echo shar: "will not over-write existing file 'hosts.allow'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'hosts.allow' XZtftpd: LOCAL XZrshd: LOCAL XZzyncd: LOCAL XZpopper: LOCAL XSHAR_EOF Xchmod 644 'hosts.allow' Xfi Xif test -f 'hosts.deny' Xthen X echo shar: "will not over-write existing file 'hosts.deny'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'hosts.deny' XZALL: ALL XSHAR_EOF Xchmod 644 'hosts.deny' Xfi Xif test -f 'hosts.equiv' Xthen X echo shar: "will not over-write existing file 'hosts.equiv'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'hosts.equiv' XZlocalhost.2bsd.com XSHAR_EOF Xchmod 644 'hosts.equiv' Xfi Xif test -f 'inetd.conf' Xthen X echo shar: "will not over-write existing file 'inetd.conf'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'inetd.conf' XZ# XZ# Internet server configuration database XZ# XZftp stream tcp nowait root /usr/libexec/tcpd ftpd -l XZtelnet stream tcp nowait root /usr/libexec/tcpd telnetd XZshell stream tcp nowait root /usr/libexec/tcpd rshd XZlogin stream tcp nowait root /usr/libexec/tcpd rlogind XZ#exec stream tcp nowait root /usr/libexec/rexecd rexecd XZuucpd stream tcp nowait root /usr/libexec/uucpd uucpd XZ#nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd XZfinger stream tcp nowait nobody /usr/libexec/fingerd fingerd -s -l XZtftp dgram udp wait nobody /usr/libexec/tcpd tftpd XZcomsat dgram udp wait root /usr/libexec/comsat comsat XZ#talk dgram udp wait root /usr/libexec/talkd talkd XZ#ntalk dgram udp wait root /usr/libexec/ntalkd ntalkd XZident stream tcp wait sys /usr/libexec/identd identd -l -w -t120 XZecho stream tcp nowait root internal XZdiscard stream tcp nowait root internal XZ#chargen stream tcp nowait root internal XZ#daytime stream tcp nowait root internal XZtcpmux stream tcp nowait root internal XZtcpmux/+date stream tcp nowait nobody /bin/date date XZ#time stream tcp nowait root internal XZecho dgram udp wait root internal XZ#discard dgram udp wait root internal XZ#chargen dgram udp wait root internal XZ#daytime dgram udp wait root internal XZtime dgram udp wait root internal XSHAR_EOF Xchmod 644 'inetd.conf' Xfi Xif test -f 'motd' Xthen X echo shar: "will not over-write existing file 'motd'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'motd' XZ2.11 BSD UNIX #9: Fri Dec 13 23:40:33 PST 1996 XSHAR_EOF Xchmod 666 'motd' Xfi Xif test -f 'netstart' Xthen X echo shar: "will not over-write existing file 'netstart'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'netstart' XZ#!/bin/sh - XZ XZ# @(#)netstart 5.2.1 (2.11BSD) 1996/11/16 XZ XZINET=`testnet` XZif [ $INET = YES ]; then XZ echo Assuming NETWORKING system ... >/dev/console 2>&1 XZelse XZ echo Assuming non-networking system ... >/dev/console 2>&1 XZfi XZexport INET XZ XZ# DON'T EVEN THINK ABOUT RUNNING ROUTED ON A PDP-11!!! Just set routedflags XZ# to "NO" and set up a default gateway below. XZ# XZroutedflags=NO XZrwhod=YES XZnamed=NO XZ XZ# myname is my symbolic name XZ# my-netmask is specified in /etc/networks XZ# my-default-address should be set to some machine where you XZ# want to send all your packets, by default. XZ# XZ XZhostname=localhost.2bsd.com XZnetmask=255.255.255.0 XZbroadcast=127.255.255.255 XZdefault=127.0.0.1 XZ XZhostname $hostname >/dev/console 2>&1 XZhostid $hostname >/dev/console 2>&1 XZ XZif [ $INET = YES ]; then XZ # ifconfig imp0 inet netmask $netmask $hostname broadcast $broadcast up -trailers >/dev/console 2>&1 XZ # ifconfig en0 inet netmask $netmask $hostname broadcast $broadcast up -trailers >/dev/console 2>&1 XZ # ifconfig ec0 inet netmask $netmask $hostname broadcast $broadcast up -trailers arp >/dev/console 2>&1 XZ # ifconfig il0 inet netmask $netmask $hostname broadcast $broadcast up -trailers >/dev/console 2>&1 XZ # ifconfig qe0 inet netmask $netmask $hostname broadcast $broadcast up -trailers >/dev/console 2>&1 XZ # ifconfig sl0 inet 192.254.254.2 192.254.254.1 -arp -trailers >/dev/console 2>&1 XZ # slattach /dev/ttyS6 9600 XZ ifconfig lo0 inet localhost up -trailers >/dev/console 2>&1 XZ XZ route add $hostname localhost 0 >/dev/console 2>&1 XZ route add default $default 1 >/dev/console 2>&1 XZfi XSHAR_EOF Xchmod 740 'netstart' Xfi Xif test -f 'networks' Xthen X echo shar: "will not over-write existing file 'networks'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'networks' XZlocalnet 127 XSHAR_EOF Xchmod 644 'networks' Xfi Xif test -f 'ntp.conf' Xthen X echo shar: "will not over-write existing file 'ntp.conf'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'ntp.conf' XZ# XZ# Local clock parameters XZ# XZ# Stratum MUST only be defined if you are a primary clock XZ# If so, include the 4 char clock type XZ#stratum 1 WWVB XZ# XZ# Precision of the local clock to the nearest power of 2 XZ# ex. XZ# 60-HZ = 2**-6 XZ# 100-HZ = 2**-7 XZ# 1000-HZ = 2**-10 XZprecision -6 XZ# XZ# Peers Type Name XZ# XZpeer 127.0.0.1 XSHAR_EOF Xchmod 640 'ntp.conf' Xfi Xif test -f 'passwd' Xthen X echo shar: "will not over-write existing file 'passwd'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'passwd' XZroot:*:0:1:The Man:/:/bin/sh XZdaemon:*:1:1:The devil himself:/:/bin/sh XZsys:*:4:2:Operating System:/tmp:nologin XZoperator:*:2:5:System &:/usr/guest/operator:/bin/csh XZbin:*:3:20:Binaries Commands and Source:/:/bin/csh XZnobody:*:32767:31:Nobody:/nonexistent:/bin/sh XZuucp:*:66:1:UNIX-to-UNIX Copy:/usr/spool/uucppublic:/usr/sbin/uucico XZingres:*:39:74:INGRES Owner:/usr/ingres:/bin/csh XSHAR_EOF Xchmod 644 'passwd' Xfi Xif test -f 'phones' Xthen X echo shar: "will not over-write existing file 'phones'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'phones' XZinformation 5221212 XZwlbr 18188894490 XSHAR_EOF Xchmod 440 'phones' Xfi Xif test -f 'printcap' Xthen X echo shar: "will not over-write existing file 'printcap'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'printcap' XZ# XZ# Copyright (c) 1983 Regents of the University of California. XZ# All rights reserved. The Berkeley software License Agreement XZ# specifies the terms and conditions for redistribution. XZ# XZ# @(#)etc.printcap 5.1.1 (2.11BSD) 1996/10/25 XZ# XZ# This is a sample of printcap entries used by various printers/plotters XZ# XZ# DecWriter over a tty line. XZlp|B300:\ XZ :lp=/dev/ttyS5:\ XZ :sd=/usr/spool/lpd:\ XZ :lf=/usr/spool/lpd/errs:\ XZ :af=/usr/spool/lpd/acct:\ XZ :of=/usr/libexec/lpr/lpf:\ XZ :if=/usr/libexec/lpr/lpf:\ XZ :br#9600:xc#0:xs#040040:fc#077777:fs#06320:\ XZ :pw#132:\ XZ :pl#66 XZ# :tr=\f:\ XZ XZ# Postscript printer, a HP4M with a Jetdirect 2552A installed. XZ XZps0|HP4MX:sd=/usr/spool/lpr/ps0:rp=raw:rm=dogbert:lp=:sf:sh:mx#0:\ XZ :lf=/usr/adm/lpd-errs:\ XZ :af=/usr/spool/lpr/ps0/acct XZ XZ# Text printer, a HP4m with a JetDirect 2552A installed. XZlz0|d630|HP4MX|Home:sd=/usr/spool/lpr/lz0:rp=text:rm=dogbert:if=if.laserjet XSHAR_EOF Xchmod 644 'printcap' Xfi Xif test -f 'protocols' Xthen X echo shar: "will not over-write existing file 'protocols'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'protocols' XZ# XZ# Internet (IP) protocols XZ# XZip 0 IP # internet protocol, pseudo protocol number XZicmp 1 ICMP # internet control message protocol XZggp 3 GGP # gateway-gateway protocol XZtcp 6 TCP # transmission control protocol XZegp 8 EGP # exterior gateway protocol XZpup 12 PUP # PARC universal packet protocol XZudp 17 UDP # user datagram protocol XZhmp 20 HMP # host monitoring protocol XZxns-idp 22 XNS-IDP # Xerox NS IDP XZrdp 27 RDP # "reliable datagram" protocol XSHAR_EOF Xchmod 644 'protocols' Xfi Xif test -f 'rc' Xthen X echo shar: "will not over-write existing file 'rc'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'rc' XZ XZ# XZ# @(#)rc 2.1 (2.111BSD) 1996/10/21 XZ# XZHOME=/; export HOME XZPATH=/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bin; export PATH XZ XZ# If you have a ram disk configured into your system which is listed in XZ# /etc/fstab, you'll have to do a mkfs on it here and probably change the XZ# ownership and modes below after the standard file systems have been XZ# mounted. XZ# XZRAMSIZE=0 XZRAMFS=/tmp XZRAMOWNER=root XZRAMGROUP=wheel XZRAMMODE=1777 XZ XZif [ ${RAMSIZE} != 0 ] XZthen XZ mkfs /dev/ram ${RAMSIZE} 1 2 XZfi XZ XZif [ "$2" = powerfail ] XZthen XZ echo REBOOTING AFTER POWER FAILURE >/dev/console 2>&1 XZfi XZif [ "$1" = fastboot ] XZthen XZ echo '' XZ echo Fast boot ... skipping disk checks >/dev/console 2>&1 XZelif [ "$1" = autoboot ] XZthen XZ echo Automatic reboot in progress... >/dev/console 2>&1 XZ date >/dev/console 2>&1 XZ # this will *only* work if fsck can do your root file system XZ # without a temporary file, and if the root file system is XZ # checked alone in a pass by itself -- be careful! This can XZ # *seriously* mess you up. XZ fsck -p -t /_FSCK_TMP_FILE >/dev/console 2>&1 XZ case $? in XZ 0) XZ date >/dev/console 2>&1 XZ ;; XZ 2) XZ exit 1 XZ ;; XZ 4) XZ reboot -n XZ ;; XZ 8) XZ echo "Automatic reboot failed... help!" >/dev/console 2>&1 XZ exit 1 XZ ;; XZ 12) XZ echo "Reboot interrupted" >/dev/console 2>&1 XZ exit 1 XZ ;; XZ *) XZ echo "Unknown error in reboot" >/dev/console 2>&1 XZ exit 1 XZ ;; XZ esac XZelse XZ date >/dev/console 2>&1 XZfi XZ XZ# attempt to rationally recover the passwd file if needed XZif [ -s /etc/ptmp ] XZthen XZ echo 'password file may be incorrect' > /dev/console XZfi XZ XZ# XZ# First umount everything in case the system is going back into multiuser XZ# mode. If the system is being booted for the first time nothing is mounted XZ# except the root filesystem and umount ignores attempts to unmount /. XZ# XZumount -a XZ# XZ# Now mount everything mentioned in /etc/fstab *except* filesystems with the XZ# 'na' (noauto) option. XZ# XZmount -a >/dev/console 2>&1 XZ XZif [ ${RAMSIZE} != 0 ] XZthen XZ chown ${RAMOWNER}.${RAMGROUP} ${RAMFS} XZ chmod ${RAMMODE} ${RAMFS} XZfi XZ XZ echo -n 'checking quotas:' >/dev/console 2>&1 XZ quotacheck -a >/dev/console 2>&1 XZ echo ' done.' >/dev/console 2>&1 XZquotaon -a XZ XZdev_mkdb XZ XZps -U >/dev/console 2>&1 XZrm -f /etc/nologin XZrm -f /usr/spool/uucp/LCK.* XZrm -f /usr/spool/uucp/STST/* XZchmod 666 /dev/tty[pqrs]* XZ XZ# set hostname and INET, turn on network XZ. /etc/netstart XZ XZif [ $INET = YES ]; then XZ echo 'starting system logger' >/dev/console 2>&1 XZ rm -f /dev/log XZ syslogd XZfi XZ XZ# /etc/crash should be a symbolic link to the crash directory XZ# if core dumps are to be saved. XZif [ -d /etc/crash ]; then XZ echo 'checking for core dump... ' >/dev/console 2>&1 XZ savecore /etc/crash >/dev/console 2>&1 XZfi XZ XZ echo preserving editor files >/dev/console 2>&1 XZ (cd /tmp; /usr/sbin/expreserve -a) XZ echo clearing /tmp >/dev/console 2>&1 XZ(cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -r {} \; ) XZ XZ echo -n standard daemons: >/dev/console 2>&1 XZupdate; echo -n ' update' >/dev/console 2>&1 XZcron; echo -n ' cron' >/dev/console 2>&1 XZaccton /usr/adm/acct; echo -n ' accounting' >/dev/console 2>&1 XZ echo '.' >/dev/console 2>&1 XZ XZif [ $INET = YES ]; then XZ echo -n starting network daemons: >/dev/console 2>&1 XZ XZ # $routedflags is imported from /etc/netstart; XZ # if $routedflags == NO, routed isn't run. XZ if [ "${routedflags-NO}" != NO ]; then XZ routed $routedflags; echo -n ' routed' >/dev/console 2>&1 XZ fi XZ XZ # $named is imported from /etc/netstart; XZ # if $named is set to something other than NO, named is run. XZ if [ "${named-NO}" != NO ]; then XZ named; echo -n ' named'>/dev/console 2>&1 XZ fi XZ /usr/sbin/inetd; echo -n ' inetd'>/dev/console 2>&1 XZ XZ # $rwhod is imported from /etc/netstart; XZ # if $rwhod is set to something other than NO, rwhod is run. XZ if [ "${rwhod}" != NO ]; then XZ rwhod; echo -n ' rwhod' >/dev/console 2>&1 XZ fi XZ rm -f /dev/printer XZ /usr/sbin/lpd; echo -n ' printer' >/dev/console 2>&1 XZ echo '.' >/dev/console 2>&1 XZelse XZ # lpd will run even with out networking. XZ echo starting lpd >/dev/console 2>&1 XZ /usr/sbin/lpd XZfi XZ XZ/etc/rc.local XZ XZdate >/dev/console 2>&1 XZexit 0 XSHAR_EOF Xchmod 740 'rc' Xfi Xif test -f 'rc.local' Xthen X echo shar: "will not over-write existing file 'rc.local'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'rc.local' XZ#! /bin/sh - XZ# site-specific startup actions, daemons XZ XZstrings /vmunix | grep UNIX >/tmp/t1 XZtail +2 /etc/motd >>/tmp/t1 XZmv /tmp/t1 /etc/motd XZchmod 666 /etc/motd XZ XZecho -n starting local daemons: >/dev/console 2>&1 XZ#if [ $INET = YES -a -f /usr/sbin/timed ]; then XZ# timed & echo -n ' timed' >/dev/console 2>&1 XZ#fi XZif [ -f /usr/sbin/sendmail ]; then XZ (cd /usr/spool/mqueue; rm -f lf*) XZ if [ $INET = YES ]; then XZ /usr/sbin/sendmail -bd -q1h; echo -n ' sendmail'>/dev/console 2>&1 XZ else XZ /usr/sbin/sendmail -q1h; echo -n ' sendmail' >/dev/console 2>&1 XZ fi XZfi XZ echo '.' >/dev/console 2>&1 XZ XZntpd XSHAR_EOF Xchmod 740 'rc.local' Xfi Xif test -f 'remote' Xthen X echo shar: "will not over-write existing file 'remote'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'remote' XZ# XZ# General dialer definitions used below XZ# XZdial9600|9600 Baud Hayes attributes:\ XZ :br#9600:at=hayes:du: XZdial1200|1200 Baud DN11 attributes:\ XZ :dv=/dev/ttyi8:br#1200:cu=/dev/dn1:at=dn11:du: XZdial300|300 Ventel attributes:\ XZ :dv=/dev/cul0:br#300:cu=/dev/cul0:at=ventel:du: XZ# XZ# UNIX system definitions XZ# XZUNIX-1200|1200 Baud dial-out to another UNIX system:\ XZ :el=^U^C^R^O^D^S^Q@:ie=#%$:oe=^D:tc=dial1200: XZUNIX-300|300 Baud dial-out to another UNIX system:\ XZ :el=^U^C^R^O^D^S^Q@:ie=#%$:oe=^D:tc=dial300: XZtip0|tip1200:tc=UNIX-1200: XZtip300:tc=UNIX-300: XZcu0|cu300:tc=UNIX-300: XZcu1200:tc=UNIX-1200: XZdialer:dv=/dev/cul0:br#1200: XZwlbr:dv=/dev/ttyS7:cu=/dev/ttyS7:pn=@:tc=dial9600: XZ XZ#-------------------------------------------------------------------- XZ#The attributes are: XZ# XZ#dv device to use for the tty XZ#el EOL marks (default is NULL) XZ#du make a call flag (dial up) XZ#pn phone numbers (@ =>'s search phones file; possibly taken from XZ# PHONES environment variable) XZ#at ACU type XZ#ie input EOF marks (default is NULL) XZ#oe output EOF string (default is NULL) XZ#cu call unit (default is dv) XZ#br baud rate (defaults to 300) XZ#fs frame size (default is BUFSIZ) -- used in buffering writes XZ# on receive operations XZ#tc to continue a capability XSHAR_EOF Xchmod 644 'remote' Xfi Xif test -f 'services' Xthen X echo shar: "will not over-write existing file 'services'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'services' XZ# @(#)services 1.16.2 (2.11BSD) 1996/12/13 XZ# XZ# Network services, Internet style XZ# XZtcpmux 1/tcp # TCP port multiplexer (RFC1078) XZecho 7/tcp XZecho 7/udp XZdiscard 9/tcp sink null XZdiscard 9/udp sink null XZsystat 11/tcp users XZdaytime 13/tcp XZdaytime 13/udp XZnetstat 15/tcp XZqotd 17/tcp quote XZchargen 19/tcp ttytst source XZchargen 19/udp ttytst source XZftp 21/tcp XZtelnet 23/tcp XZsmtp 25/tcp mail XZtime 37/tcp timserver XZtime 37/udp timserver XZrlp 39/udp resource # resource location XZnameserver 42/tcp name # IEN 116 XZwhois 43/tcp nicname XZdomain 53/tcp nameserver # name-domain server XZdomain 53/udp nameserver XZmtp 57/tcp # deprecated XZtftp 69/udp XZrje 77/tcp netrjs XZfinger 79/tcp XZlink 87/tcp ttylink XZsupdup 95/tcp XZhostnames 101/tcp hostname # usually from sri-nic XZ#csnet-cs 105/? XZpop 109/tcp postoffice XZsunrpc 111/tcp XZsunrpc 111/udp XZident 113/tcp auth tap authentication XZsftp 115/tcp XZuucp-path 117/tcp XZnntp 119/tcp readnews untp # USENET News Transfer Protocol XZntp 123/udp ntpd ntp # network time protocol (exp) XZ# XZ# UNIX specific services XZ# XZexec 512/tcp XZbiff 512/udp comsat XZlogin 513/tcp XZwho 513/udp whod XZshell 514/tcp cmd # no passwords used XZsyslog 514/udp XZprinter 515/tcp spooler # line printer spooler XZtalk 517/udp XZntalk 518/udp XZefs 520/tcp # for LucasFilm XZroute 520/udp router routed XZtimed 525/udp timeserver XZtempo 526/tcp newdate XZcourier 530/tcp rpc XZconference 531/tcp chat XZnetnews 532/tcp readnews XZnetwall 533/udp # -for emergency broadcasts XZuucp 540/tcp uucpd # uucp daemon XZremotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem XZ XZingreslock 1524/tcp XZ XZ# local definitions follow XSHAR_EOF Xchmod 644 'services' Xfi Xif test -f 'shells' Xthen X echo shar: "will not over-write existing file 'shells'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'shells' XZ# List of acceptable shells for chsh/passwd -s XZ# Ftpd will not allow users to connect who do not have one of these shells XZ# XZ/bin/sh XZ/bin/csh XZ/bin/tcsh XSHAR_EOF Xchmod 644 'shells' Xfi Xif test -f 'syslog.conf' Xthen X echo shar: "will not over-write existing file 'syslog.conf'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'syslog.conf' XZlocal7.debug /dev/null XZ*.crit;*.err;kern.debug;auth.notice,local7.none /dev/console XZ XZ*.err;auth.notice;*.info;kern.debug;local3,local7,mail,daemon,lpr.none /usr/adm/messages XZ XZlpr.debug /usr/adm/lpd-errs XZmail.debug /usr/spool/mqueue/syslog XZmark.debug;daemon.debug /usr/adm/daemonlog XZuser.debug /usr/adm/debuglog XZ XZ*.alert;kern.err operator,root XZ XZ*.emerg * XSHAR_EOF Xchmod 644 'syslog.conf' Xfi Xif test -f 'ttys' Xthen X echo shar: "will not over-write existing file 'ttys'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'ttys' XZ# XZ# name getty type status comments XZ# XZconsole "/usr/libexec/getty std.9600" vt100 on secure #special XZttyS0 "/usr/libexec/getty std.9600" vt100 off secure XZttyS1 "/usr/libexec/getty std.9600" vt100 off secure XZttyS2 "/usr/libexec/getty std.9600" vt100 off secure XZttyS3 "/usr/libexec/getty std.9600" vt100 off secure XZttyS4 "/usr/libexec/getty std.9600" vt100 off secure XZttyS5 "/usr/libexec/getty std.9600" vt100 off secure #printer XZttyS6 "/usr/libexec/getty std.9600" vt100 off secure XZttyS7 "/usr/libexec/getty std.9600" vt100 off secure XZttyl1 "/usr/libexec/getty std.9600" vt100 off secure XZttyp0 none network secure XZttyp1 none network secure XZttyp2 none network secure XZttyp3 none network secure XZttyp4 none network secure XZttyp5 none network XZttyp6 none network XZttyp7 none network XZttyp8 none network XZttyp9 none network XZttypa none network XZttypb none network XZttypc none network XZttypd none network XZttype none network XZttypf none network XSHAR_EOF Xchmod 644 'ttys' Xfi Xif test -f 'dtab' Xthen X echo shar: "will not over-write existing file 'dtab'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'dtab' XZ# Device Configuration Table XZ XZ#Name Unit# Addr Vector Br Handler(s) # Comments XZ XZ# dr ? 172410 124 5 drintr # dr11-w (b-bus emulator) XZ# dr ? 172430 130 5 drintr # dr11-w (gc-bus emulator) XZ# dr ? 172450 134 5 drintr # dr11-w (em-2 interface) XZ# du ? 160020 310 5 dhurint dhuxint # dhu11 terminal mux XZ# dhv ? 160020 310 5 dhvrint dhvxint # dhv terminal mux XZ# dm ? 170500 310 4 dmintr # dm11 dh modem control XZ# dh ? 160020 320 5 dhrint dhxint # dh11 terminal mux XZ# dz ? 160100 310 5 dzrint dzdma # dz11 terminal mux XZhk ? 177440 210 5 hkintr # rk611/711 rk06/07 XZ# hp ? 176700 254 5 hpintr # rjp04/06, rwp04/06 XZht ? 172440 224 5 htintr # tu 16 massbus tape XZ# vp ? 177500 174 4 vpintr # Versatec; should be before lp XZ# lp ? 177514 200 4 lpintr # lp-11 line printer XZra ? 172150 154 5 raintr # uda50, rqdx1/2/3 XZ# rk ? 177400 220 5 rkintr # rk05 XZrl ? 174400 160 5 rlintr # rl-01/02 XZ# rm ? 176700 254 5 rmintr # rjm02/rwm03, rm02/03/05 XZ# br ? 176710 254 5 brintr # Eaton br1537/br1711 XZ# rx ? 177170 264 5 rxintr # rx01/02 XZ# si ? 176700 170 5 siintr # si9500 XZtm ? 172520 224 5 tmintr # tm11 driver XZtms ? 174500 260 5 tmsintr # tmscp driver XZts ? 172520 224 5 tsintr # ts11 driver XZxp ? 176700 254 5 xpintr # xp driver XZ XZ# If you have DL11s, you must give each line an explicit unit number instead XZ# of using a '?' as above. If you use a '?', autoconfig(8) will start XZ# assigning unit numbers starting at 0 which will effectively move your XZ# console to that first line. Start your unit numbers with '1'. XZ# XZ# cn 1 176500 300 5 cnrint cnxint # kl/dl-11 (on mvx11-aa) XZ XZ# The following entries are provided for information only, actual XZ# configuration is done elsewhere. XZ XZ# acc ? 167600 5 accin accout # lhdh driver XZ# de ? 120 5 deintr # deuna XZ# qe ? 174440 400 5 qeintr # deqna ethernet XZ# il ? 163000 340 5 ilrint ilcint # interlan ethernet XZ# kw ? 172540 100 6 hardclock # kw11-p clock XZ# sr ? 500 5 srirint srixint # sri dr11-c arpanet imp XZ# vv ? 161000 350 5 vvrint vvxint # pronet XSHAR_EOF Xchmod 644 'dtab' Xfi Xif test -f 'inetd.conf.nowrappers' Xthen X echo shar: "will not over-write existing file 'inetd.conf.nowrappers'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'inetd.conf.nowrappers' XZ# XZ# Internet server configuration database XZ# XZftp stream tcp nowait root /usr/libexec/ftpd -l XZtelnet stream tcp nowait root /usr/libexec/telnetd XZshell stream tcp nowait root /usr/libexec/rshd XZlogin stream tcp nowait root /usr/libexec/rlogind XZ#exec stream tcp nowait root /usr/libexec/rexecd XZuucpd stream tcp nowait root /usr/libexec/uucpd uucpd XZ#nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd XZfinger stream tcp nowait nobody /usr/libexec/fingerd fingerd -s -l XZ#tftp dgram udp wait nobody /usr/libexec/tftpd XZcomsat dgram udp wait root /usr/libexec/comsat comsat XZ#talk dgram udp wait root /usr/libexec/talkd talkd XZ#ntalk dgram udp wait root /usr/libexec/ntalkd ntalkd XZident stream tcp wait sys /usr/libexec/identd identd -l -w -t120 XZecho stream tcp nowait root internal XZdiscard stream tcp nowait root internal XZ#chargen stream tcp nowait root internal XZ#daytime stream tcp nowait root internal XZtcpmux stream tcp nowait root internal XZtcpmux/+date stream tcp nowait nobody /bin/date date XZ#time stream tcp nowait root internal XZecho dgram udp wait root internal XZ#discard dgram udp wait root internal XZ#chargen dgram udp wait root internal XZ#daytime dgram udp wait root internal XZtime dgram udp wait root internal XSHAR_EOF Xchmod 644 'inetd.conf.nowrappers' Xfi Xif test -f 'Makefile' Xthen X echo shar: "will not over-write existing file 'Makefile'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'Makefile' XZ# XZ# Public domain - 1997/1/10 - sms XZ# XZ# @(#)Makefile 1.0 (2.11BSD) 1997/1/10 XZ# XZ# DESTDIR is defined here to be something which does *NOT* exist - it must be XZ# specified on the command line when doing a "make DESTDIR=/mnt distribution". XZ# This is aimed at avoiding overwriting the system disk's /etc files. XZ# XZ# Example: XZ# mount /dev/ra1a /mnt XZ# make DESTDIR=/mnt distribution XZ XZDESTDIR=/foobar XZOWN=root XZGRP=wheel XZ XZSUBDIR= root uucp XZFILES= aliases crontab disktab dtab fstab ftpusers gettytab group hosts \ XZ hosts.allow hosts.deny inetd.conf inetd.conf.nowrappers \ XZ motd netstart networks ntp.conf passwd phones printcap protocols \ XZ rc rc.local remote services shells syslog.conf ttys XZ XZall install depend lint clean tags: XZ XZdistribution: XZ -@mkdir -p ${DESTDIR}/dev XZ @chmod 755 ${DESTDIR}/dev XZ -@mkdir -p ${DESTDIR}/etc XZ @chmod 755 ${DESTDIR}/etc XZ @chown ${OWN}.${GRP} ${DESTDIR}/dev ${DESTDIR}/etc XZ -@mkdir -p ${DESTDIR}/usr/spool/mqueue XZ @chmod 755 ${DESTDIR}/usr/spool/mqueue XZ @chown ${OWN}.${GRP} ${DESTDIR}/usr/spool/mqueue XZ XZ install -c -o ${OWN} -g ${GRP} -m 644 ${FILES} ${DESTDIR}/etc XZ install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc XZ install -c -o ${OWN} -g ${GRP} -m 600 hosts.equiv ${DESTDIR}/etc XZ install -c -o ${OWN} -g ${GRP} -m 555 MAKEDEV.local MAKEDEV \ XZ ${DESTDIR}/dev XZ install -c -o ${OWN} -g operator -m 664 /dev/null \ XZ ${DESTDIR}/etc/dumpdates XZ install -c -o ${OWN} -g operator -m 664 /dev/null \ XZ ${DESTDIR}/etc/sendmail.cw XZ install -c -o ${OWN} -g operator -m 664 /dev/null \ XZ ${DESTDIR}/etc/sendmail.fc XZ -@mkdir -p ${DESTDIR}/usr/adm ${DESTDIR}/var/run ${DESTDIR}/var/db XZ @chmod 655 ${DESTDIR}/usr/adm ${DESTDIR}/var/run ${DESTDIR}/var/db XZ @chown ${OWN}.${GRP} ${DESTDIR}/usr/adm ${DESTDIR}/var/run \ XZ ${DESTDIR}/var/db XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/messages XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/daemonlog XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/debuglog XZ install -c -o ${OWN} -g operator -m 664 /dev/null \ XZ ${DESTDIR}/usr/adm/shutdownlog XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/spool/mqueue/syslog XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/lpd-errs XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/var/run/utmp XZ install -c -o nobody -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/var/db/find.codes XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/lastlog XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/wtmp XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/acct XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/usracct XZ install -c -o ${OWN} -g ${GRP} -m 644 /dev/null \ XZ ${DESTDIR}/usr/adm/savacct XZ install -c -o uucp -g daemon -m 600 /dev/null \ XZ ${DESTDIR}/usr/adm/aculog XZ -for i in ${SUBDIR}; do \ XZ (cd $$i; make DESTDIR=${DESTDIR} distribution); done XSHAR_EOF Xchmod 644 'Makefile' Xfi Xif test -f 'MAKEDEV' Xthen X echo shar: "will not over-write existing file 'MAKEDEV'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'MAKEDEV' XZ#!/bin/sh - XZ# XZ# Copyright (c) 1980 Regents of the University of California. XZ# All rights reserved. The Berkeley software License Agreement XZ# specifies the terms and conditions for redistribution. XZ# XZ# @(#)MAKEDEV 4.27.4 (2.11BSD GTE) 1996/11/16 XZ# XZ# Device "make" file. Valid arguments: XZ# std standard devices XZ# local configuration specific devices XZ# Tapes: XZ# ht* unibus tu77 & te16 XZ# tm* unibus tm11 & te10 emulations (e.g. Emulex tc-11) XZ# ts* unibus ts11 XZ# tu* tmscp (tk50/tu81) XZ# Disks: XZ# br* unibus Eaton br1538 or br1711 XZ# hk* unibus rk06 and rk07 XZ# ra* unibus uda50 w/ ra?? XZ# rk* unibus rk05 XZ# rl* unibus rl01/rl02 XZ# rx* unibus rx02 XZ# si* unibus cdc 9766 w/ si 9500 XZ# xp* unibus rm02/03/05, rp04/05/06, diva, eagle, cdc9766, fuji 160. XZ# Terminal multiplexors: XZ# dl* dl-11 units other than the console XZ# dz* unibus dz11 and dz32 XZ# dh* unibus dh11 and emulations (e.g. Able dmax, Emulex cs-11) XZ# dmf* unibus dmf32 XZ# dhu* unibus dhu11 XZ# dmz* unibus dmz32 XZ# dhv* qbus dhv11 XZ# Pseudo terminals: XZ# pty* set of 16 master and slave pseudo terminals XZ# Printers: XZ# lp* unibus lp11 parallel interface XZ# va* unibus varian parallel interface XZ# vp* unibus versatec parallel interface XZ# Call units: XZ# Special purpose devices: XZ# dr* unibus dr11 XZ# ram* memory disk XZ# dn* dn11 dialer XZ# ingreslock Ingres lock driver. XZ XZPATH=/etc:/sbin:/usr/sbin:/bin:/usr/bin XZumask 77 XZfor i XZdo XZcase $i in XZ XZstd) XZ mknod console c 0 0 XZ# mknod kUmem c 1 3 ; chmod 600 kUmem ;: untested XZ mknod kmem c 1 1 ; chmod 640 kmem ; chgrp kmem kmem XZ mknod mem c 1 0 ; chmod 640 mem ; chgrp kmem mem XZ mknod null c 1 2 ; chmod 666 null XZ mknod zero c 1 3 ; chmod 444 zero XZ mknod tty c 9 0 ; chmod 666 tty XZ mknod klog c 22 0 ; chmod 600 klog XZ ;; XZ XZht*|tm*|ts*|tu*) XZ umask 0 ; ctlr=`expr $i : '..\(.*\)'` XZ ctlr=`expr $ctlr '*' 64` XZ case $i in XZ ht*) blk=0; chr=6;; XZ tm*) blk=1; chr=7;; XZ ts*) blk=2; chr=8;; XZ tu*) blk=12; chr=23;; XZ esac XZ# Maximum of 4 controllers in a system XZ case $ctlr in XZ 0|64|128|192) XZ# Maximum of 4 units per controller XZ# for unit in 0 1 2 3 XZ for unit in 0 1 XZ do XZ zero=`expr $ctlr + $unit + 0` XZ four=`expr $zero + 4` ; eight=`expr $zero + 8` XZ twelve=`expr $zero + 12` XZ sixteen=`expr $zero + 16` XZ twenty=`expr $zero + 20` XZ twentyfour=`expr $zero + 24` XZ twentyeight=`expr $zero + 28` XZ mknod mt$zero b $blk $zero XZ mknod mt$four b $blk $four XZ mknod mt$eight b $blk $eight XZ mknod mt$twelve b $blk $twelve XZ mknod nmt$zero b $blk $four ;: v7 compatibility XZ mknod nmt$eight b $blk $twelve ;: ditto XZ mknod nrmt$zero c $chr $four ;: ditto XZ mknod nrmt$eight c $chr $twelve ;: ditto XZ mknod rmt$zero c $chr $zero XZ mknod rmt$four c $chr $four XZ mknod rmt$eight c $chr $eight XZ mknod rmt$twelve c $chr $twelve XZ if [ `expr $i : '\(..\)'` = tu ] XZ then XZ mknod mt$sixteen b $blk $sixteen XZ mknod mt$twenty b $blk $twenty XZ mknod mt$twentyfour b $blk $twentyfour XZ mknod mt$twentyeight b $blk $twentyeight XZ mknod nmt$sixteen b $blk $twenty ;: v7 compatibility XZ mknod nmt$twentyfour b $blk $twentyeight ;: ditto XZ mknod nrmt$sixteen c $chr $twenty ;: ditto XZ mknod nrmt$twentyfour c $chr $twentyeight ;: ditto XZ mknod rmt$sixteen c $chr $sixteen XZ mknod rmt$twenty c $chr $twenty XZ mknod rmt$twentyfour c $chr $twentyfour XZ mknod rmt$twentyeight c $chr $twentyeight XZ fi XZ if [ `expr $i : '\(..\)'` = ut ] XZ then XZ mknod mt$twenty b $blk $twenty XZ mknod rmt$twenty c $chr $twenty XZ fi XZ done XZ ;; XZ *) XZ echo bad controller for tape in: $1 XZ ;; XZ esac XZ umask 77 XZ ;; XZ XZrk*) XZ # The 2.11BSD rk driver doesn't support partitions. We create XZ # a single block and charater inode pair for each unit and XZ # call it rkNh. XZ umask 2 ; unit=`expr $i : '..\(.*\)'` XZ case $i in XZ rk*) name=rk; blk=6; chr=15;; XZ esac XZ mknod ${name}${unit}h b ${blk} ${unit} XZ mknod r${name}${unit}h c ${chr} ${unit} XZ chgrp operator ${name}${unit}h r${name}${unit}h XZ chmod 640 ${name}${unit}h r${name}${unit}h XZ ;; XZ XZrx*) XZ umask 2 XZ name=rx; blk=8; chr=17 XZ mknod ${name}0a b ${blk} 0 XZ mknod ${name}1a b ${blk} 1 XZ mknod ${name}0b b ${blk} 2 XZ mknod ${name}1b b ${blk} 3 XZ mknod r${name}0a c ${chr} 0 XZ mknod r${name}1a c ${chr} 1 XZ mknod r${name}0b c ${chr} 2 XZ mknod r${name}1b c ${chr} 3 XZ chgrp operator ${name}[01][ab] r${name}[01][ab] XZ chmod 640 ${name}[01][ab] r${name}[01][ab] XZ ;; XZ XZram*) XZ # Note, this must come *before* the "ra*". The entry "rram" is for XZ # auto fscks when ram is mentioned in /etc/fstab. XZ umask 2 XZ mknod ram b 3 0 XZ ln ram rram XZ chgrp operator ram XZ chmod 640 ram XZ umask 77 XZ ;; XZ XZbr*|hk*|ra*|si*|xp*|rl*) XZ umask 2 ; unit=`expr $i : '..\(.*\)'` XZ case $i in XZ br*) name=rp; blk=11; chr=20;; XZ hk*) name=hk; blk=4; chr=13;; XZ ra*) name=ra; blk=5; chr=14;; XZ si*) name=si; blk=9; chr=18;; XZ xp*) name=xp; blk=10; chr=19;; XZ rl*) name=rl; blk=7; chr=16;; XZ esac XZ case $unit in XZ 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|\ XZ 17|18|19|20|21|22|23|24|25|26|27|28|29|30|31) XZ mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` XZ mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` XZ mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` XZ mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` XZ mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` XZ mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` XZ mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` XZ mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` XZ mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` XZ mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` XZ mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` XZ mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` XZ mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` XZ mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` XZ mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` XZ mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` XZ chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] XZ chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] XZ ;; XZ *) XZ echo bad unit for disk in: $i XZ ;; XZ esac XZ umask 77 XZ ;; XZ XZdz*) XZ unit=`expr $i : 'dz\(.*\)'` XZ case $unit in XZ 0|1|2|3|4|5|6|7) XZ eval `echo $unit | awk ' { u = $1 } END { XZ for (i = 0; i < 8; i++) XZ printf("mknod tty%02d c 2 %d; ",u*8+i,u*8+i); }'` XZ ;; XZ *) XZ echo bad unit for dz in: $i XZ ;; XZ esac XZ ;; XZ XZ# XZ# we may want dmz and dmf someday... XZ# dhu*|dh*|dmf*|dmz*) XZdhv*|dhu*|dh*) XZ case $i in XZ# dmz*) name=dmz; major=37; count=24; XZ# unit=`expr $i : "$name\(.*\)"` XZ# case $unit in XZ# 0) ch=a ;; 1) ch=b ;; 2) ch=c ;; 3) ch=e ;; XZ# 4) ch=f ;; 5) ch=g ;; XZ# *) echo bad unit for $name in: $i ;; XZ# esac;; XZ# dmf*) name=dmf; major=22; count=8; XZ# unit=`expr $i : "$name\(.*\)"` XZ# case $unit in XZ# 0) ch=A ;; 1) ch=B ;; 2) ch=C ;; 3) ch=E ;; XZ# 4) ch=F ;; 5) ch=G ;; 6) ch=H ;; 7) ch=I ;; XZ# *) echo bad unit for $name in: $i ;; XZ# esac;; XZ dhv*) name=dhv; major=24; count=8; XZ unit=`expr $i : "$name\(.*\)"`; XZ case $unit in XZ 0) ch=S ;; 1) ch=T ;; 2) ch=U ;; 3) ch=V ;; XZ 4) ch=W ;; 5) ch=X ;; 6) ch=Y ;; 7) ch=Z ;; XZ *) echo bad unit for $name in: $i ;; XZ esac;; XZ dhu*) name=dhu; major=4; count=16; XZ unit=`expr $i : "$name\(.*\)"`; XZ case $unit in XZ 0) ch=S ;; 1) ch=T ;; 2) ch=U ;; 3) ch=V ;; XZ 4) ch=W ;; 5) ch=X ;; 6) ch=Y ;; 7) ch=Z ;; XZ *) echo bad unit for $name in: $i ;; XZ esac;; XZ dh*) name=dh; major=3; count=16; XZ unit=`expr $i : "$name\(.*\)"` XZ case $unit in XZ 0) ch=h ;; 1) ch=i ;; 2) ch=j ;; 3) ch=k ;; XZ *) echo bad unit for $name in: $i ;; XZ esac;; XZ esac XZ eval `echo $ch $unit $major $count | XZ awk ' { ch = $1; u = $4 * $2; m = $3; cnt = $4 } END { XZ for (i = 0; i < cnt; i++) XZ if (i < 10) XZ printf("mknod tty%s%x c %d %d; ",ch,i,m,u+i); XZ else XZ printf("mknod tty%s%c c %d %d; ",ch,87+i,m,u+i); }'` XZ ;; XZ XZ# extra DL-11 units not including the console. unit numbers start at 1 because XZ# the console is always unit 0. Seven units (1 - 7) are defined for the 11/93 XZ# and 11/94. Device name is "ttyl?". The DH range was restricted from 'h'-'o' XZ# to 'h' - 'k' (very unlikely that more than 64 channels of DH-11 will or could XZ# be put on an 11. XZ XZdl*) XZ name=dl; major=0; ch=l XZ unit=`expr $i : "$name\(.*\)"` XZ case $unit in XZ 1|2|3|4|5|6|7) XZ mknod tty${ch}${unit} c $major $unit; XZ ;; XZ *) XZ echo bad unit for $name in: $i XZ ;; XZ esac XZ ;; XZ XZ# we may want va and vp someday... XZ# lp*|va*|vp*) XZlp*|dn*) XZ case $i in XZ lp*) name=lp; major=5;; XZ dn*) name=dn; major=21;; XZ# va*) name=va; major=10;; XZ# vp*) name=vp; major=6;; XZ esac XZ unit=`expr $i : "$name\(.*\)"` XZ case $unit in XZ 0|1|2|3|4|5|6|7) XZ mknod $i c $major $unit; XZ chmod 666 $i XZ ;; XZ *) XZ echo bad unit for $name in: $i XZ ;; XZ esac XZ ;; XZ XZpty*) XZ class=`expr $i : 'pty\(.*\)'` XZ case $class in XZ 0) offset=0 name=p;; XZ 1) offset=16 name=q;; XZ 2) offset=32 name=r;; XZ 3) offset=48 name=s;; XZ 4) offset=64 name=t;; XZ 5) offset=80 name=u;; XZ *) echo bad unit for pty in: $i;; XZ esac XZ case $class in XZ 0|1|2|3|4|5) XZ umask 0 XZ eval `echo $offset $name | awk ' { b=$1; n=$2 } END { XZ for (i = 0; i < 16; i++) XZ printf("mknod tty%s%x c 11 %d; \ XZ mknod pty%s%x c 10 %d; ", \ XZ n, i, b+i, n, i, b+i); }'` XZ umask 77 XZ ;; XZ esac XZ ;; XZ XZdr*) XZ unit=`expr $i : '..\(.*\)'` XZ case $i in XZ dr*) name=dr; chr=12;; XZ esac XZ case $unit in XZ 0|1|2|3|4|5|6|7) XZ umask 0 XZ mknod ${name}${unit} c ${chr} ${unit} XZ umask 77 XZ ;; XZ *) XZ echo bad unit for ${name} in: $i XZ ;; XZ esac XZ ;; XZ XZingreslock) XZ mknod ingreslock c 25 0 XZ chown ingres ingreslock XZ chmod 200 ingreslock XZ ;; XZ XZlocal) XZ sh MAKEDEV.local XZ ;; XZesac XZdone XSHAR_EOF Xchmod 755 'MAKEDEV' Xfi Xif test -f 'MAKEDEV.local' Xthen X echo shar: "will not over-write existing file 'MAKEDEV.local'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'MAKEDEV.local' XZrm -f swap XZln ra0a swap XZchgrp kmem swap XZchmod 640 swap XZ XZrm -f ttyi6 ttyd0; mknod ttyd0 c 3 22 XZrm -f ttyi7 ttyd1; mknod ttyd1 c 3 23 XZrm -f ttyi8 ttyd2; mknod ttyd2 c 3 24 XZrm -f ttyi9 ttyd3; mknod ttyd3 c 3 25 XZrm -f ttyia ttyd4; mknod ttyd4 c 3 26 XZrm -f ttyic ttyd5; mknod ttyd5 c 3 156 XZ XZrm -f ttyh1 dir-shasta; mknod dir-shasta c 3 1 XZrm -f ttyh6 dir-rose; mknod dir-rose c 3 6 XZrm -f ttyh7 dir-namsan; mknod dir-namsan c 3 7 XZrm -f ttyid dir-ps; mknod dir-ps c 3 157 XZrm -f ttyie cua0; mknod cua0 c 3 158 XZrm -f ttyif dir-scgl; mknod dir-scgl c 3 159 XZchown uucp dir-* XZchmod 660 dir-* XZ# Cua* can't be owned by anyone real who wants to use the dialer if the mode XZ# 060 below and the dialer group is to work. Note that the uucp programs XZ# must be in the dialer group. XZchown 32767 cua* XZchgrp dialer cua* XZchmod 060 cua* XSHAR_EOF Xchmod 755 'MAKEDEV.local' Xfi Xif test -f 'master.passwd' Xthen X echo shar: "will not over-write existing file 'master.passwd'" Xelse Xsed 's/^Z//' << \SHAR_EOF > 'master.passwd' XZroot::0:1::0:0:The Man:/:/bin/sh XZdaemon:*:1:1::::The devil himself:/:/bin/sh XZsys:*:4:2::::Operating System:/tmp:nologin XZoperator:*:2:5::::System &:/usr/guest/operator:/bin/csh XZbin:*:3:20::::Binaries Commands and Source:/:/bin/csh XZnobody:*:32767:31::::Nobody:/nonexistent:/bin/sh XZuucp:*:66:1::0:0:UNIX-to-UNIX Copy:/usr/spool/uucppublic:/usr/sbin/uucico XZingres:*:39:74::0:0:INGRES Owner:/usr/ingres:/bin/csh XSHAR_EOF Xchmod 600 'master.passwd' Xfi Xchmod 755 . Xcd .. Xif test -f '/usr/src/sbin/init/Makefile' Xthen X echo shar: "will not over-write existing file '/usr/src/sbin/init/Makefile'" Xelse Xsed 's/^Z//' << \SHAR_EOF > '/usr/src/sbin/init/Makefile' XZ# XZ# Public Domain. 1997/1/10 - Steven Schultz XZ# XZ# @(#)Makefile 1.0 (2.11BSD) 1997/1/10 XZ# XZCFLAGS= -O XZSEPFLAG= -i XZSRCS= init.c XZOBJS= init.o XZMAN= init.0 XZMANSRC= init.8 XZ XZall: init init.0 XZ XZinit: ${OBJS} XZ ${CC} ${CFLAGS} ${SEPFLAG} -o $@ ${OBJS} XZ XZinit.0: ${MANSRC} XZ /usr/man/manroff ${MANSRC} > ${MAN} XZ XZclean: XZ rm -f ${OBJS} ${MAN} init tags XZ XZdepend: ${SRCS} XZ mkdep ${CFLAGS} ${SRCS} XZ XZinstall: init XZ install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8 XZ -mv /etc/init /etc/init.old XZ install -s -o root -g bin -m 700 init ${DESTDIR}/etc/init XZ XZlint: ${SRCS} XZ lint -hax ${SRCS} XZ XZtags: ${SRCS} XZ ctags ${SRCS} XZ# DO NOT DELETE THIS LINE -- mkdep uses it. XZ# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. XSHAR_EOF Xchmod 644 '/usr/src/sbin/init/Makefile' Xfi Xexit 0 X# End of shell archive SHAR_EOF chmod 644 '361.shar' fi exit 0 # End of shell archive