[3186] in Release_Engineering

home help back first fref pref prev next nref lref last post

CORRECTION: Ultrix rc.athena patches for AFS 3.3

daemon@ATHENA.MIT.EDU (Richard Basch)
Sat Apr 16 20:37:03 1994

Date: Sat, 16 Apr 1994 20:36:59 -0400
To: rel-eng@MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>


There was a typo in the first message (>1 should have been >&1).
Again, this is hand-edited, but should be ok (this mistake was not in
the hand-editing, but in my original rc.athena file).

-Richard

------- Forwarded Message

From: root@MIT.EDU (System PRIVILEGED Account)
Date: Sat, 16 Apr 94 20:22:19 -0400
To: probe@MIT.EDU
Subject: rc.diff

*** /srvd/etc/athena/rc.athena	Fri Aug  6 11:56:06 1993
--- /etc/athena/rc.athena	Sat Apr 16 20:17:58 1994
***************
*** 64,71 ****
  	fi
  fi
  
! if [ "${AFSSRV}" = "true" ]; then
  	echo ""							>/dev/console
  	echo -n "AFS server: "					>/dev/console
  	if [ -f /usr/afs/bin/bosserver ]; then
  		/usr/afs/bin/bosserver &
--- 64,90 ----
  	fi
  fi
  
! # Load the AFS kernel extension
! if [ -f /usr/vice/etc/dkload/dkload ]; then
  	echo ""							>/dev/console
+ 	echo "Loading AFS..."					>/dev/console
+ 	cd /usr/vice/etc/dkload
+ 	DKBIN=/usr/vice/etc/dkload/bin
+ 	DKARGS="-quiet -nm_cmd ${DKBIN}/nm -ld_cmd ${DKBIN}/ld -as_cmd ${DKBIN}/as.dkload"
+ 	if [ -f libafs.a ]; then
+ 		./dkload ${DKARGS} libafs.a 1>/dev/null 2>/dev/console
+ 	elif [ -f libafs.nonfs.a ]; then
+ 		./dkload ${DKARGS} libafs.nonfs.a 1>/dev/null 2>/dev/console
+ 	else
+ 		echo "Cannot load AFS - no kernel library."	>/dev/console
+ 	fi
+ 	if [ $? != 0 ]; then
+ 		echo "Error loading AFS."			>/dev/console
+ 	fi
+ 	cd /
+ fi
+ 
+ if [ "${AFSSRV}" = "true" ]; then
  	echo -n "AFS server: "					>/dev/console
  	if [ -f /usr/afs/bin/bosserver ]; then
  		/usr/afs/bin/bosserver &
***************
*** 112,118 ****
  		AFSCLIENT=4
  	fi
  	AFSOPTS="${AFSOPTS} -daemons ${AFSCLIENT}"
! 	/etc/athena/afsd ${AFSOPTS}
  	cp -p /afs/athena.mit.edu/service/aklog /bin/athena/aklog
  	echo -n "Configuring AFS cells..."			>/dev/console
  	/etc/athena/config_afs
--- 131,137 ----
  		AFSCLIENT=4
  	fi
  	AFSOPTS="${AFSOPTS} -daemons ${AFSCLIENT}"
! 	/usr/vice/etc/afsd ${AFSOPTS}	>/dev/console 2>&1
  	cp -p /afs/athena.mit.edu/service/aklog /bin/athena/aklog
  	echo -n "Configuring AFS cells..."			>/dev/console
  	/etc/athena/config_afs

------- End Forwarded Message

home help back first fref pref prev next nref lref last post