diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-05 21:27:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-05 21:27:39 +0000 |
commit | 59436c90b065edbbd368ed8679d5be33153d4fcc (patch) | |
tree | 2b6543cda0aa334b4d05e91f21b85211da5ffde5 /distrib/pc532/floppies/inst-common/dot.commonutils | |
parent | ff0f2a750cbaf08bb2ec918bdabe6ad55177f066 (diff) |
sync to netbsd
Diffstat (limited to 'distrib/pc532/floppies/inst-common/dot.commonutils')
-rw-r--r-- | distrib/pc532/floppies/inst-common/dot.commonutils | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/distrib/pc532/floppies/inst-common/dot.commonutils b/distrib/pc532/floppies/inst-common/dot.commonutils index 95261cc05d2..6ec69a41cd6 100644 --- a/distrib/pc532/floppies/inst-common/dot.commonutils +++ b/distrib/pc532/floppies/inst-common/dot.commonutils @@ -1,4 +1,3 @@ -# $OpenBSD: dot.commonutils,v 1.5 1996/06/29 05:54:20 tholo Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -27,10 +26,12 @@ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# $Id: dot.commonutils,v 1.6 1996/09/05 21:26:51 deraadt Exp $ -# Installation utilites (functions), to get OpenBSD installed on +# Installation utilites (functions), to get NetBSD installed on # the hard disk. These are meant to be invoked from the shell prompt, -# by people installing OpenBSD. +# by people installing NetBSD. # we know that /etc/fstab is only generated on the hard drive dest_dir=/ @@ -39,7 +40,7 @@ if [ ! -f /etc/fstab ]; then fi # counter for possible shared library confusion -TAR=/bin/tar +TAR=/usr/bin/tar GUNZIP=/usr/bin/gunzip Set_tmp_dir() @@ -110,7 +111,7 @@ Load_tape() echo -n "continue..." read foo echo "Extracting files from the tape..." - $TAR -xvpf /dev/$which + $TAR --unlink -xvpf /dev/$which echo "Done." } @@ -127,7 +128,7 @@ Extract() tarverbose= ;; esac - cat "$1"* | $GUNZIP | (cd $dest_dir ; $TAR -xp"$tarverbose"f - ) + cat "$1"* | $GUNZIP | (cd $dest_dir ; $TAR --unlink -xp"$tarverbose"f - ) } xd() |