[942] in Source-Commits
packs/update do-update.sh do_update.sh
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Fri Dec 27 17:01:20 1996
From: ghudson@MIT.EDU
To: source-commits@MIT.EDU
Date: Fri, 27 Dec 1996 17:01:17 EST
Update of /afs/dev.mit.edu/source/repository/packs/update
In directory small-gods:/afs/dev.mit.edu/user/ghudson/packs/update
Added Files:
do-update.sh
Removed Files:
do_update.sh
Log Message:
Rename do_update to do-update.
Eliminate AIX and Ultrix support.
Eliminate AFS configuration (it's handled at boot time).
Eliminate fiddling with /etc/athena/rc.conf for now.
Eliminate ${ROOT} (a relic of an unfinished attempt to combine the install
and update into a single script).
Eliminate hard-linking files to /.deleted; if we don't reboot with the
-q flag, it shouldn't be necessary to prevent fscking.
Always echo complete lines of text to avoid ugly BSD vs. SysV hacks.
Handle the Solaris root crontab file consistently with other configuration
files.
Introduce a file /usr/athena/lib/update/configfiles which contains a list
of configuration files for the current platform. Currently only this
script uses it, but the install system and the public workstation cleanup
can use it too. (Note that there are some other "special" files like
sendmail.cf and the Solaris /etc/{name_to_major,driver_aliases}.)
Version numbers are now dotted triplets. Hack 7.7 and 8.0 revisions to
look like 7.7.0 and 8.8.0 so we can run a 7.7.1 and 8.0.1 update script
to take care of anything that might be unfinished on such a machine.
Move the mkserv portion of the update out of this script into a script
which runs after a reboot.
Document (in comments) what variables a version script can set.
Add a file named $DEADFILES which contains a list of files to delete
after doing the track. Useful for updating OS versions. (This may
become vestigial if we reintroduce the nonstd mechanism.)
Tracking the OS is now conditional on $TRACKOS on both systems.
(Previously it was conditional on TRACKNEWOS on the SGI and wasn't
conditional at all on the Sun).
Running /install/install/update on the SGI is now conditional on
NEWUNIX, as it ought to be. Previously, it was important to do every
time you tracked the OS, but the stat files and scripts have been
updated avoid that problem.
Use the output of machtype for the platform name in /etc/athena/version,
instead of uppercasing it.