version 1.101, 2017/12/11 02:34:10 |
version 1.102, 2017/12/11 02:36:03 |
|
|
#!/bin/sh |
#!/bin/sh |
# $AFresh1: update_openbsd,v 1.100 2017/12/11 01:48:08 andrew Exp $ |
# $AFresh1: update_openbsd,v 1.101 2017/12/11 02:34:10 andrew Exp $ |
# |
# |
# Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com> |
# Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com> |
# |
# |
|
|
|
|
if [ ! "$boot_mount" ]; then |
if [ ! "$boot_mount" ]; then |
mount $BOOT_DEVICE /mnt |
mount $BOOT_DEVICE /mnt |
boot_device_mounted="" |
boot_device_mounted=1 |
KERNEL_ROOT=/mnt |
KERNEL_ROOT=/mnt |
elif [ "$boot_mount" != "$default_mount" ]; then |
elif [ "$boot_mount" != "$default_mount" ]; then |
KERNEL_ROOT=$boot_mount/ |
KERNEL_ROOT=$boot_mount/ |