OK, how about this as an idea then:

Parse mount output to see if anything is mounted to /boot/efi directly?

if mount -p | cut -f 2 | grep '^/boot/efi$'; then
....
fi

-- 
  Brandon Bergren
  bdra...@freebsd.org
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to