Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e3f47f95c9a6335462434d604fd1a842 > files > 60

mol-0.9.68-5mdk.ppc.rpm

#!/bin/sh
#
# Script run when MOL starts/exits.
# Useful to mount/unmount HFS volumes.
#
# Place this file in the /etc folder named mol.sh.
#
# IMPORTANT: If this shell script is used, then the session 
# save/restore function will not work properly (MOL will detects 
# that the HFS volume has been mounted r/w since the session was 
# saved and will thus refuses to restore the session since it is not
# a safe thing to do).
#
# Usage: mol.sh [ start | stop ]
#

if [ "$1" == "start" ] ; then
	umount -a -t hfs
else
	mount -a -t hfs
fi