From 7a504b4b548f5d778c0797c269342d192a735308 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 18 Nov 1994 10:22:39 +0000 Subject: Make sure that homicidal bindist doesn't clobber my /etc/defaultrouter file, either. --- release/extract.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'release/extract.sh') diff --git a/release/extract.sh b/release/extract.sh index 793c1d2..29c63c3 100644 --- a/release/extract.sh +++ b/release/extract.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: extract.sh,v 1.11 1994/11/17 11:53:12 jkh Exp $ +# $Id: extract.sh,v 1.12 1994/11/18 10:05:36 jkh Exp $ PATH=/stand:$PATH DDIR=/ @@ -8,6 +8,9 @@ if [ -f bin_tgz.aa ] ; then 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 echo; echo "Extracting bindist, please wait." cat bin_tgz.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) if [ -f $DDIR/stand/etc/myname ]; then @@ -15,6 +18,9 @@ if [ -f bin_tgz.aa ] ; then 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 fi for i in *.aa -- cgit v1.1