[3050] in SIPB_Linux_Development
Re: Post install script
daemon@ATHENA.MIT.EDU (Derek Atkins)
Fri Oct 6 11:51:45 2000
To: Alex Coventry <alex_c@MIT.EDU>
Cc: Linux-Dev <linux-dev@MIT.EDU>
From: Derek Atkins <warlord@MIT.EDU>
Date: 06 Oct 2000 11:51:35 -0400
In-Reply-To: Alex Coventry's message of "Thu, 5 Oct 2000 23:08:58 -0400 (EDT)"
Message-Id: <sjmvgv6x914.fsf@rcn.ihtfp.org>
Alex Coventry <alex_c@MIT.EDU> writes:
> $ROOT/bin/sed -e "s/localhost.localdomain/$HOSTNAME/" \
> -e "s/PUBLIC=false/PUBLIC=false/" \
^^^^^^^^^^^^^^^^^^
Um, why is this here? Or is this a bug? Obvously this is a no-op
as-is.
> -e "s/MACHINE=i[3456]86/MACHINE=$MACHINE/" \
^^^^^^^^^
Perhaps this should be: MACHINE=[^\s]* in order to grab whatever
happens to be in the existing MACHINE= category? Otherwise you are
depending on athena-base to have MACHINE=ix86 in it, which certainly
wouldn't work on non-Intel-based platforms.
Other than this, it looks really good.
-derek
PS: Why is AFSCLIENT added by the post-install instead of put in by
athena-base? Perhaps this is a question for 'bugs'?
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL N1NWH
warlord@MIT.EDU PGP key available