diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-30 19:10:02 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-30 19:10:02 +0000 |
commit | 24a24d5701d0a46e0aaa90406526aea10d003740 (patch) | |
tree | 2ff5e7b7b0f1279cdf042f783dd7f30725cb4b6d /distrib/miniroot/upgrade.sh | |
parent | 15f118b27895667092adf7784b333e4b5fd87ae4 (diff) |
If the site tarball included a file /install.site (upgrade.site if we
are upgrading not installing) then execute it chroot'd to /mnt.
This allows people to customize the install procedure in a simple
yet flexible manner.
Diffstat (limited to 'distrib/miniroot/upgrade.sh')
-rw-r--r-- | distrib/miniroot/upgrade.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/upgrade.sh b/distrib/miniroot/upgrade.sh index 3bfc7c399b1..8ca29577b2f 100644 --- a/distrib/miniroot/upgrade.sh +++ b/distrib/miniroot/upgrade.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: upgrade.sh,v 1.12 2000/03/19 01:14:03 espie Exp $ +# $OpenBSD: upgrade.sh,v 1.13 2000/04/30 19:10:01 millert Exp $ # $NetBSD: upgrade.sh,v 1.2.4.5 1996/08/27 18:15:08 gwr Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -297,6 +297,7 @@ esac md_installboot ${ROOTDISK} ) populateusrlocal +test -x /mnt/upgrade.site && /mnt/usr/sbin/chroot /mnt /upgrade.site unmount_fs /tmp/fstab.shadow |