X-Git-Url: https://code.delx.au/refind/blobdiff_plain/cf4d4184e6a83cf0784b5f95c1b5e4868384ae0b..d8f5091fd0d957c7124a4220981f915d65bdeb86:/mountesp diff --git a/mountesp b/mountesp index 6459199..77bdc0a 100755 --- a/mountesp +++ b/mountesp @@ -6,9 +6,12 @@ # # ./mountesp # -# This program is copyright (c) 2012-2015 by Roderick W. Smith -# It is released under the terms of the GNU GPL, version 3, -# a copy of which should be included in the file COPYING.txt. +# This program is copyright (c) 2015 by Roderick W. Smith +# +# This program is licensed under the terms of the GNU GPL, version 3, +# or (at your option) any later version. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . # # Revision history: # @@ -50,11 +53,11 @@ MountOSXESP() { fi MountPoint="/Volumes/ESP" mkdir /Volumes/ESP &> /dev/null - mount -t msdos "$Esp" /Volumes/ESP + mount -t msdos "$Esp" $MountPoint # Some systems have HFS+ "ESPs." They shouldn't, but they do. If this is # detected, mount it as such and set appropriate options. if [[ $? != 0 ]] ; then - mount -t hfs "$Esp" /Volumes/Esp + mount -t hfs "$Esp" $MountPoint if [[ $? != 0 ]] ; then echo "Unable to mount ESP!\n" exit 1 @@ -76,4 +79,4 @@ case "$OSTYPE" in echo "This script is meant to be run under OS X *ONLY*! Exiting!" exit ;; -esac \ No newline at end of file +esac