version 1.116, 2018/12/16 20:55:24 |
version 1.117, 2018/12/16 20:57:49 |
|
|
#!/bin/sh |
#!/bin/sh |
# $AFresh1: update_openbsd,v 1.115 2018/12/16 20:55:03 andrew Exp $ |
# $AFresh1: update_openbsd,v 1.116 2018/12/16 20:55:24 andrew Exp $ |
# |
# |
# Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com> |
# Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com> |
# |
# |
|
|
[ $_d != / ] && mount | grep -q " on ${_d%/} .* msdos" && mount_is_msdos=1 |
[ $_d != / ] && mount | grep -q " on ${_d%/} .* msdos" && mount_is_msdos=1 |
|
|
if [ "$EFI_BOOT" -a -d /mnt/efi/boot ]; then |
if [ "$EFI_BOOT" -a -d /mnt/efi/boot ]; then |
echo "Copying $EFI_BOOT to /mnt/efi/boot/$EFI_BOOT" |
echo "Copying $EFI_BOOT to /mnt/efi/boot/" |
( cd /mnt/efi/boot \ |
( cd /mnt/efi/boot \ |
&& cp "$RELEASEDIR/$EFI_BOOT" "n$EFI_BOOT" \ |
&& cp "$RELEASEDIR/$EFI_BOOT" "n$EFI_BOOT" \ |
&& mv "n$EFI_BOOT" "$EFI_BOOT" |
&& mv "n$EFI_BOOT" "$EFI_BOOT" |