added some debug messages when unmounting/remounting is done (part of #2101)

This commit is contained in:
fgerlits 2007-02-07 10:44:23 +00:00
parent 5c7f4f5b33
commit f02576eed0
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ case "$1" in
# remount the NFS share if we have a 2-computer setup
if [ -f $installdir/storageServer.wasMounted ]; then
echo "Remounting the remote storage..."
mount $installdir/var/Campcaster/storageServer
rm $installdir/storageServer.wasMounted
fi

View File

@ -48,6 +48,7 @@ case "$1" in
# unmount the NFS share, if we have a 2-computer setup
storagedir=$installdir/var/Campcaster/storageServer
if [ "`mount | grep -o \"on $storagedir \"`" = "on $storagedir " ]; then
echo "Unmounting the remote storage..."
umount $storagedir
touch $installdir/storageServer.wasMounted
fi