[2102] in testers

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

7.4: /etc/athena/reactivate

daemon@ATHENA.MIT.EDU (Richard Basch)
Sun Jun 14 00:17:29 1992

Date: Sun, 14 Jun 92 00:17:10 -0400
To: testers@Athena.MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>


The following patch will allow machines running with the AFS-NFS
translator to operate better (especially since @sys can NOW work with
the translator).  We do NOT want the special "aklog" binary to be
smashed on those requiring the translator (and the translator is
becoming more important with our mass migration).

-R



*** /tmp/,RCSt1016004	Sun Jun 14 00:12:54 1992
--- reactivate	Sun Jun 14 00:12:37 1992
***************
*** 72,84 ****
  esac
  
  # Reconfigure AFS state
! if [ -f /afs/athena.mit.edu/service/aklog ] ; then
  	${cp} /afs/athena.mit.edu/service/aklog /bin/athena/aklog.new && \
  	/bin/test -s /bin/athena/aklog.new && \
  	/bin/mv /bin/athena/aklog.new /bin/athena/aklog
  	/bin/rm -f /bin/athena/aklog.new
  fi
- /etc/athena/config_afs > /dev/null 2>&1 &
  
  # punt any processes owned by users not in /etc/passwd
  /etc/athena/cleanup -passwd
--- 72,86 ----
  esac
  
  # Reconfigure AFS state
! if [ "${AFSCLIENT}" != "false" ]; then
!     if [ -f /afs/athena.mit.edu/service/aklog ] ; then
  	${cp} /afs/athena.mit.edu/service/aklog /bin/athena/aklog.new && \
  	/bin/test -s /bin/athena/aklog.new && \
  	/bin/mv /bin/athena/aklog.new /bin/athena/aklog
  	/bin/rm -f /bin/athena/aklog.new
+     fi
+     /etc/athena/config_afs > /dev/null 2>&1 &
  fi
  
  # punt any processes owned by users not in /etc/passwd
  /etc/athena/cleanup -passwd

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