Remove preservation of myname and defaultrouter files - they're deprecated

anyway.
This commit is contained in:
Jordan K. Hubbard 1995-04-09 03:44:03 +00:00
parent 6b234a88dc
commit 845f1b7740
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7687

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: extract_bin.sh,v 1.3 1995/01/28 09:11:32 jkh Exp $
# $Id: extract_bin.sh,v 1.4 1995/03/28 18:14:10 phk Exp $
PATH=/stand:$PATH
DDIR=/
@ -7,21 +7,7 @@ DDIR=/
if [ -f $DDIR/etc/sysconfig ]; then
mv $DDIR/etc/sysconfig $DDIR/etc/sysconfig.save
fi
if [ -f $DDIR/etc/myname ]; then
cp $DDIR/etc/hosts $DDIR/etc/myname $DDIR/stand/etc
fi
if [ -f $DDIR/etc/defaultrouter ]; then
cp $DDIR/etc/defaultrouter $DDIR/stand/etc
fi
cat bin.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
if [ -f $DDIR/stand/etc/myname ]; then
# Add back what the bindist nuked.
cp $DDIR/stand/etc/myname $DDIR/etc
cat $DDIR/stand/etc/hosts >> $DDIR/etc/hosts
fi
if [ -f $DDIR/stand/etc/defaultrouter ]; then
cp $DDIR/stand/etc/defaultrouter $DDIR/etc
fi
if [ -f $DDIR/etc/sysconfig.save ]; then
mv $DDIR/etc/sysconfig.save $DDIR/etc/sysconfig
fi