summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-08-26 03:23:20 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-08-26 03:23:20 +0000
commit6c4dc5e50835353155176abbb6f9eb320066c50e (patch)
tree299ac82f740f02fa17779435dbc9a3ec01bc1221 /etc
parent1b48fc7c14997089b6d528d5eeb7168f2bdb33d1 (diff)
downloadFreeBSD-src-6c4dc5e50835353155176abbb6f9eb320066c50e.zip
FreeBSD-src-6c4dc5e50835353155176abbb6f9eb320066c50e.tar.gz
Added a real ugle hack so that cat, tar and gzip tools used to do the
extract can be over writen. This is done by coping them to /tmp before the extract begins, running them from /tmp, then removing them after the extract has completed. Removed all section about setting up sendmail.cf, since this was for the old sendmail stuff and should not be required by the new sendmail.cf file that is shipped with the system.
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.i386/inst2.profile39
1 files changed, 5 insertions, 34 deletions
diff --git a/etc/etc.i386/inst2.profile b/etc/etc.i386/inst2.profile
index 09d65bc..6775e97 100644
--- a/etc/etc.i386/inst2.profile
+++ b/etc/etc.i386/inst2.profile
@@ -106,8 +106,11 @@ extract()
tarverbose=
;;
esac
- cat "$@"* | gunzip | (cd / ; tar --extract --file - --unlink --preserve-permissions ${tarverbose} )
-
+ #XXX ugly hack to eliminate busy files, copy them to /tmp and use them
+ #from there...
+ cp -p /bin/cat /usr/bin/gunzip /usr/bin/tar /tmp
+ /tmp/cat "$@"* | /tmp/gunzip | (cd / ; /tmp/tar --extract --file - --unlink --preserve-permissions ${tarverbose} )
+ rm -f /bin/cat /tmp/gunzip /tmp/tar
sync
}
configure()
@@ -135,38 +138,6 @@ configure()
dname=$proto_domain
fi
-# echo -n "Setting up domain name in sendmail.cf..."
-# sed -e "s/YOUR_DOMAIN_GOES_HERE/$dname/" \
-# < /etc/sendmail.cf_proto > /etc/sendmail.cf
-# echo " done."
-#
-# echo -n "Freezing sendmail.cf..."
-# /usr/sbin/sendmail -bz
-# echo " done."
-#
-# echo ""
-# echo "WARNING: you should look over the /etc/sendmail.cf file,"
-# echo "make sure things are set up properly, then re-freeze"
-# echo "it with the command '/usr/sbin/sendmail -bz'."
-#
-# echo ""
-# echo "Building aliases database..."
-# newaliases
-# echo ""
-# echo "WARNING: you should look over the /etc/aliases file,"
-# echo "make sure things are set up properly, then re-build"
-# echo "it with the command 'newaliases'."
-
-# cp /etc/sendmail.cf_proto /etc/sendmail.cf
-
-# echo ""
-# echo "WARNING: sendmail will puke on your carpet when the machine"
-# echo "starts up. If you don't want it to keep doing this, either"
-# echo "turn it off in /etc/rc, or give it a reasonable"
-# echo "/etc/sendmail.cf file."
-
-# echo "127.0.0.1 localhost" > /etc/hosts
-
echo ""
echo -n "Does this machine have an ethernet interface? [y] "
read resp
OpenPOWER on IntegriCloud