#
# Make sure Swap is not mounted in case of hard reboot
# If a Swap directory does exist after a dismount, remove
# that because it's in the way of mounting Swap properly
#
umount -v /Volumes/Swap*
if [ -d /Volumes/Swap ]; then
ConsoleMessage "** DELETING extant Swap directory(s) **"
rm -rf /Volumes/Swap*
mkdir /Volumes/Swap
fi
#
# MAKE YOUR CHANGE HERE!
#
# Replace /dev/disk0s7 to your own Swap volume device path.
# And no matter what you called your swap volume, leave
# the /Volumes/Swap portion as it is because it matches the
# above mkdir and the /etc/fstab entry.
#
# vv-CHANGE-vv vvv-LEAVE-vvv
/sbin/mount_hfs /dev/disk0s5 /Volumes/Swap
sleep 2