Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/acorn32/ramdisk Remove some old crud that isnt even ...
details: https://anonhg.NetBSD.org/src/rev/bfbfc894cfce
branches: trunk
changeset: 521434:bfbfc894cfce
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Jan 30 23:03:26 2002 +0000
description:
Remove some old crud that isnt even used anymore !
diffstat:
distrib/acorn32/ramdisk/inst.sh | 1041 --------------
distrib/acorn32/ramdisk/install.tmpl | 519 -------
distrib/acorn32/ramdisk/sh/arith.c | 725 ----------
distrib/acorn32/ramdisk/sh/arith.h | 25 -
distrib/acorn32/ramdisk/sh/arith_lex.c | 1712 -----------------------
distrib/acorn32/ramdisk/sh/builtins.c | 126 -
distrib/acorn32/ramdisk/sh/builtins.h | 48 -
distrib/acorn32/ramdisk/sh/init.c | 316 ----
distrib/acorn32/ramdisk/sh/mkinit | Bin
distrib/acorn32/ramdisk/sh/mknodes | Bin
distrib/acorn32/ramdisk/sh/mksyntax | Bin
distrib/acorn32/ramdisk/sh/nodes.c | 347 ----
distrib/acorn32/ramdisk/sh/nodes.h | 163 --
distrib/acorn32/ramdisk/sh/syntax.c | 351 ----
distrib/acorn32/ramdisk/sh/syntax.h | 52 -
distrib/acorn32/ramdisk/sh/token.h | 112 -
distrib/acorn32/ramdisk/start.tmpl | 45 -
distrib/acorn32/ramdisk/sysinst/menu_defs.c | 1933 ---------------------------
distrib/acorn32/ramdisk/sysinst/menu_defs.h | 96 -
distrib/acorn32/ramdisk/sysinst/menus.def | 527 -------
distrib/acorn32/ramdisk/sysinst/msg.def | 966 -------------
distrib/acorn32/ramdisk/sysinst/msg_defs.c | 750 ----------
distrib/acorn32/ramdisk/sysinst/msg_defs.h | 203 --
distrib/acorn32/ramdisk/upgrade.tmpl | 240 ---
24 files changed, 0 insertions(+), 10297 deletions(-)
diffs (truncated from 10387 to 300 lines):
diff -r 12ffb957dae6 -r bfbfc894cfce distrib/acorn32/ramdisk/inst.sh
--- a/distrib/acorn32/ramdisk/inst.sh Wed Jan 30 23:03:09 2002 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1041 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: inst.sh,v 1.1 2002/01/25 15:28:46 reinoud Exp $
-#
-# Copyright (c) 1995-1997 Mark Brinicombe
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed by Mark Brinicombe.
-# 4. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# 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.
-
-#
-# Installation utilites (functions), to get NetBSD installed on
-# the hard disk. These are meant to be invoked from the shell prompt,
-# by people installing NetBSD.
-#
-
-VERSION="1.9"
-
-Load_tape()
-{
- Set_Distrib_Dir
- echo -n "Which tape drive will you be using? [rst0] "
- read which
- if [ "X$which" = "X" ]; then
- which=rst0
- fi
- echo -n "Insert the tape into the tape drive and hit return to "
- echo -n "continue..."
- read foo
- echo "Extracting files from the tape..."
- pax -rvpe -f /dev/$which
- echo "Done."
-}
-
-
-Get_Dest_Dir()
-{
- echo -n "Enter new path to dest directory [$dest_dir] "
- read newdir
- if [ ! "X$newdir" = "X" ]; then
- dest_dir=$newdir
- fi
-}
-
-
-Get_Distrib_Dir()
-{
- echo -n "Enter new path to distrib directory [$distribdir] "
- read distribdir
- if [ "X$distribdir" = "X" ]; then
- distribdir=$destdir/usr/distrib
- fi
- if [ ! -d $distribdir ]; then
- echo -n "$distribdir does not exist, create it [n] "
- read yorn
- if [ "$yorn" = "y" ]; then
- mkdir $distribdir
- fi
- fi
-}
-
-
-Set_Distrib_Dir()
-{
- while [ ! -d $distribdir ]; do
- echo "Directory $distribdir does not exist"
- Get_Distrib_Dir
- done
-
- cd $distribdir
-}
-
-
-Load_Msdos_Fd()
-{
- echo "Loading sets from msdos floppies"
- Set_Distrib_Dir
-
- which=
- while [ "$which" != "0" -a "$which" != "1" ]; do
- echo -n "Read from which floppy drive ('0' or '1')? [0] "
- read which
- if [ "X$which" = "X" ]; then
- which=0
- fi
- done
-
- foo=
- while [ "X$foo" = "X" ]; do
- echo -n "Insert floppy (type s to stop, enter to load): "
- read foo
- if [ "X$foo" = "X" ]; then
- mount -t msdos /dev/fd${which}a /mnt2
- cp -rp /mnt2/* .
- umount /mnt2
- fi
- done
-}
-
-
-Load_Tar_Fd()
-{
- echo "Loading sets from tar floppies"
- Set_Distrib_Dir
-
- which=
- while [ "$which" != "0" -a "$which" != "1" ]; do
- echo -n "Read from which floppy drive ('0' or '1')? [0] "
- read which
- if [ "X$which" = "X" ]; then
- which=0
- fi
- done
-
- foo=
- while [ "X$foo" = "X" ]; do
- echo -n "Insert floppy (type s to stop, enter to load): "
- read foo
- if [ "X$foo" = "X" ]; then
- pax -rf /dev/rfd${which}a
- fi
- done
-}
-
-
-Load_Tar_Fd1()
-{
- echo "Loading sets from multi-volume tar floppies"
- Set_Distrib_Dir
-
- which=
- while [ "$which" != "0" -a "$which" != "1" ]; do
- echo -n "Read from which floppy drive ('0' or '1')? [0] "
- read which
- if [ "X$which" = "X" ]; then
- which=0
- fi
- done
-
- foo=
- while [ "X$foo" = "X" ]; do
- echo -n "Insert floppy (type s to stop, enter to load): "
- read foo
- if [ "X$foo" = "X" ]; then
- pax -rf /dev/rfd${which}a
- fi
- done
-}
-
-
-Load_Sets()
-{
- res0=
- while [ "$res0" != "q" -a "$res0" != "Q" ]; do
- echo ""
- echo -n "1. Set distrib directory (Currently $distribdir"
- if [ ! -d $distribdir ]; then
- echo " - non-existent)"
- else
- echo ")"
- fi
- echo "2. Load sets from msdos floppies"
- echo "3. Load sets from tar floppies"
- echo "4. Load sets from multi-volume tar floppies"
- echo "Q. Return to previous menu"
- echo ""
- echo -n "Choice : "
- read res0
- case "$res0" in
- 1)
- Get_Distrib_Dir
- ;;
- 2)
- Load_Msdos_Fd
- ;;
- 3)
- Load_Tar_Fd
- ;;
- 4)
- Load_Tar_Fd1
- ;;
- q|Q)
-# echo "Returning to previous menu"
- ;;
- esac
- done
-}
-
-
-Mount_CDROM()
-{
- which=
- while [ "$which" != "0" -a "$which" != "1" ]; do
- echo -n "Mount which CDROM drive ('0' or '1')? [0] "
- read which
- if [ "X$which" = "X" ]; then
- which=0
- fi
- done
-
- if [ ! -d /cdrom ]; then
- mkdir /cdrom
- fi
- if [ ! -d /cdrom ]; then
- echo "No /cdrom directory, read only root filesystem ?"
- exit 1
- fi
-
- mount -r -t cd9660 /dev/cd${which}a /cdrom
- if [ ! $? = 0 ]; then
- echo "Mount failed"
- else
- distribdir="/cdrom/distrib"
- fi
-
-}
-
-
-Mount_DEV_CDROM()
-{
- echo -n "Mount which device as CDROM ? [sd0a] "
- read which
-
- if [ ! -d /cdrom ]; then
- mkdir /cdrom
- fi
- if [ ! -d /cdrom ]; then
- echo "No /cdrom directory, read only root filesystem ?"
- exit 1
- fi
-
- mount -r -t cd9660 /dev/${which} /cdrom
- if [ ! $? = 0 ]; then
- echo "Mount failed"
- else
- distribdir="/cdrom/distrib"
- fi
-
-}
-
-
-CDROM_Sets() {
- res0=
- while [ "$res0" != "q" -a "$res0" != "Q" ]; do
- echo ""
- echo -n "1. Set distrib directory (Currently $distribdir"
- if [ ! -d $distribdir ]; then
- echo " - non-existent)"
- else
- echo ")"
- fi
- echo -n "2. Mount CDROM "
- if [ ! -b /dev/cd0a ]; then
- echo "- Not available"
- else
- echo ""
- fi
- if [ -f /var/inst/developer ]; then
- echo "D. Mount disc as CDROM"
- fi
- echo "Q. Return to previous menu"
- echo ""
- echo -n "Choice : "
- read res0
- case "$res0" in
- 1)
- Get_Distrib_Dir
- ;;
- 2)
- Mount_CDROM
- ;;
- d|D)
- Mount_DEV_CDROM
- ;;
Home |
Main Index |
Thread Index |
Old Index