diff options
-rwxr-xr-x | release/picobsd/mfs_tree/stand/update | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/picobsd/mfs_tree/stand/update b/release/picobsd/mfs_tree/stand/update index 8e1d30b..072493a 100755 --- a/release/picobsd/mfs_tree/stand/update +++ b/release/picobsd/mfs_tree/stand/update @@ -5,8 +5,8 @@ thefiles=$* [ -z "$thefiles" ] && \ thefiles="/etc/rc.conf /etc/rc.firewall /etc/master.passwd" -dev=`sysctl -n kern.bootdevname` -[ -z ${dev} ] && dev="/dev/fd0" +dev=`sysctl -n machdep.guessed_bootdev` +[ -c "${dev}" ] || dev="/dev/fd0" mount ${dev} /mnt if [ "$?" != "0" ] ; then echo "" |