summaryrefslogtreecommitdiff
path: root/distrib/hp300/ramdisk
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-10-31 16:32:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-10-31 16:32:47 +0000
commit2aa9c29c51ba770996a341b89e5cd91a0d8dfb87 (patch)
treedcdab7c468b53b31252f0ccdfb69f3d00eed48cb /distrib/hp300/ramdisk
parent6458c7204b16a44af80ae092c3774fcaaba43b63 (diff)
Make space by removing hostname (just use /kern), slip, and ppp.
Diffstat (limited to 'distrib/hp300/ramdisk')
-rw-r--r--distrib/hp300/ramdisk/install.md10
-rw-r--r--distrib/hp300/ramdisk/list7
-rw-r--r--distrib/hp300/ramdisk/raminst.conf14
3 files changed, 17 insertions, 14 deletions
diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md
index 98254e34fbe..c8db0fda409 100644
--- a/distrib/hp300/ramdisk/install.md
+++ b/distrib/hp300/ramdisk/install.md
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: install.md,v 1.19 1999/09/03 18:55:26 deraadt Exp $
+# $OpenBSD: install.md,v 1.20 2000/10/31 16:32:45 millert Exp $
# $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -468,3 +468,11 @@ md_native_fstype() {
md_native_fsopts() {
# Nothing to do.
}
+
+hostname() {
+ case $# in
+ 0) cat /kern/hostname ;;
+ 1) echo "$1" > /kern/hostname ;;
+ *) echo usage: hostname [name-of-host]
+ esac
+}
diff --git a/distrib/hp300/ramdisk/list b/distrib/hp300/ramdisk/list
index 8ddee37ba77..75317c31435 100644
--- a/distrib/hp300/ramdisk/list
+++ b/distrib/hp300/ramdisk/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.17 2000/06/12 16:02:49 deraadt Exp $
+# $OpenBSD: list,v 1.18 2000/10/31 16:32:46 millert Exp $
COPY ${OBJDIR}/raminst raminst
LINK raminst bin/cat
@@ -10,7 +10,6 @@ LINK raminst bin/ed
LINK raminst bin/expr
LINK raminst bin/ln
LINK raminst bin/ls
-LINK raminst bin/hostname
LINK raminst bin/mkdir
LINK raminst bin/mv
LINK raminst bin/rm
@@ -35,7 +34,6 @@ LINK raminst sbin/mount_mfs
LINK raminst sbin/newfs
LINK raminst sbin/reboot
LINK raminst sbin/route
-LINK raminst sbin/slattach
LINK raminst sbin/umount
LINK raminst usr/bin/ftp
LINK raminst usr/bin/egrep
@@ -46,9 +44,6 @@ LINK raminst usr/bin/sed
LINK raminst usr/bin/sort
LINK raminst bin/pax
LINK raminst usr/bin/tar
-LINK raminst usr/bin/tip
-LINK raminst usr/sbin/chat
-LINK raminst usr/sbin/pppd
LINK raminst usr/bin/vi
LINK raminst sbin/dhclient
SPECIAL /bin/rm raminst
diff --git a/distrib/hp300/ramdisk/raminst.conf b/distrib/hp300/ramdisk/raminst.conf
index 733d9999f6f..c7b80fe33e1 100644
--- a/distrib/hp300/ramdisk/raminst.conf
+++ b/distrib/hp300/ramdisk/raminst.conf
@@ -1,17 +1,17 @@
#
-# $OpenBSD: raminst.conf,v 1.11 2000/06/09 17:42:51 mickey Exp $
+# $OpenBSD: raminst.conf,v 1.12 2000/10/31 16:32:46 millert Exp $
#
# raminst.conf - unified binary for the RAM disk
#
-srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin usr.sbin/pppd
-srcdirs usr.bin/vi distrib/special
+srcdirs distrib/special bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
+srcdirs usr.bin/vi
-progs cat chat chmod chroot cp dd df disklabel dhclient ed expr
-progs fsck_ffs ftp grep gzip hostname ifconfig init less ln ls
+progs cat chmod cp dd df disklabel dhclient ed expr
+progs fsck_ffs ftp grep gzip ifconfig init less ln ls
progs mkdir mknod mount mount_cd9660 mount_ffs mount_kernfs mount_nfs
-progs mv newfs pax ksh ping pppd reboot rm route build
-progs sed slattach sleep sort stty sync tip umount restore
+progs mv newfs pax ksh ping reboot rm route build
+progs sed sleep sort stty sync umount restore
ln pax tar
ln chmod chgrp