diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-10-31 16:32:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-10-31 16:32:47 +0000 |
commit | 2aa9c29c51ba770996a341b89e5cd91a0d8dfb87 (patch) | |
tree | dcdab7c468b53b31252f0ccdfb69f3d00eed48cb /distrib/hp300/ramdisk/install.md | |
parent | 6458c7204b16a44af80ae092c3774fcaaba43b63 (diff) |
Make space by removing hostname (just use /kern), slip, and ppp.
Diffstat (limited to 'distrib/hp300/ramdisk/install.md')
-rw-r--r-- | distrib/hp300/ramdisk/install.md | 10 |
1 files changed, 9 insertions, 1 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 +} |