version 1.102, 2017/12/11 02:36:03 |
version 1.103, 2017/12/11 02:50:09 |
|
|
#!/bin/sh |
#!/bin/sh |
# $AFresh1: update_openbsd,v 1.101 2017/12/11 02:34:10 andrew Exp $ |
# $AFresh1: update_openbsd,v 1.102 2017/12/11 02:36:03 andrew Exp $ |
# |
# |
# Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com> |
# Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com> |
# |
# |
|
|
|
|
boot_device_mounted="" |
boot_device_mounted="" |
mount_boot_device() { |
mount_boot_device() { |
[ "boot_device_mounted" ] && return |
[ "$boot_device_mounted" ] && return |
|
|
local default_mount=$( df -lnP /bsd | sed -ne 's!/dev/.* !!p' ) |
local default_mount=$( df -lnP /bsd | sed -ne 's!/dev/.* !!p' ) |
local boot_mount=$( mount | |
local boot_mount=$( mount | |