mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 01:38:57 +00:00
0a2bc69f9c
to kill myname and wipe out my oh-so-carefully constructed hosts file).
13 lines
460 B
Bash
13 lines
460 B
Bash
#!/bin/sh
|
|
if [ -f bin_tgz.aa ] ; then
|
|
# Temporary kludge for pathological bindist.
|
|
cp /etc/hosts /etc/myname /stand/etc
|
|
echo; echo "Extracting bindist, please wait. Ignore any messages from"
|
|
echo "cpio saying \"No such file or directory\". It doesn't know what"
|
|
echo "it's talking about.."; echo
|
|
cat bin_tgz.?? | zcat | ( cd / ; cpio -H tar -idumV )
|
|
# Add back what the bindist nuked.
|
|
cp /stand/etc/myname /etc
|
|
cat /stand/etc/hosts >> /etc/hosts
|
|
fi
|