summaryrefslogtreecommitdiffstats
path: root/distrib/macppc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-10-25 10:20:51 +0000
committerkrw <krw@openbsd.org>2015-10-25 10:20:51 +0000
commit42c647d8a55bc194eb8e0f370fe82a41bd966bdf (patch)
treea6e4ce39e2f6a50e55d2d5bc22918ee78d5bee0c /distrib/macppc
parentInstead of doing the the if_get() dance for rt_missmsg(), change the (diff)
downloadwireguard-openbsd-42c647d8a55bc194eb8e0f370fe82a41bd966bdf.tar.xz
wireguard-openbsd-42c647d8a55bc194eb8e0f370fe82a41bd966bdf.zip
Use 'fdisk -i', instead of 'fdisk -e' with a here document of
'reinit;update;write;quit'. They've done the same thing for some time now. Tweaks & test from rpe@. ok rpe@ deraadt@
Diffstat (limited to 'distrib/macppc')
-rw-r--r--distrib/macppc/ramdisk/install.md9
1 files changed, 2 insertions, 7 deletions
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md
index 7d78ea45256..5da0256ce33 100644
--- a/distrib/macppc/ramdisk/install.md
+++ b/distrib/macppc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.61 2015/10/17 08:47:24 rpe Exp $
+# $OpenBSD: install.md,v 1.62 2015/10/25 10:20:51 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -94,12 +94,7 @@ __EOT
w*|W*)
echo -n "Creating a 1MB DOS partition and an OpenBSD partition for rest of $_disk..."
dd if=/dev/zero of=/dev/r${_disk}c bs=1m count=1
- fdisk -e $_disk <<__EOT >/dev/null
-reinit
-update
-write
-quit
-__EOT
+ fdisk -iy $_disk >/dev/null
echo "done."
break ;;
e*|E*)