added some debug messages when unmounting/remounting is done (part of #2101)
This commit is contained in:
parent
5c7f4f5b33
commit
f02576eed0
|
@ -29,6 +29,7 @@ case "$1" in
|
||||||
|
|
||||||
# remount the NFS share if we have a 2-computer setup
|
# remount the NFS share if we have a 2-computer setup
|
||||||
if [ -f $installdir/storageServer.wasMounted ]; then
|
if [ -f $installdir/storageServer.wasMounted ]; then
|
||||||
|
echo "Remounting the remote storage..."
|
||||||
mount $installdir/var/Campcaster/storageServer
|
mount $installdir/var/Campcaster/storageServer
|
||||||
rm $installdir/storageServer.wasMounted
|
rm $installdir/storageServer.wasMounted
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -48,6 +48,7 @@ case "$1" in
|
||||||
# unmount the NFS share, if we have a 2-computer setup
|
# unmount the NFS share, if we have a 2-computer setup
|
||||||
storagedir=$installdir/var/Campcaster/storageServer
|
storagedir=$installdir/var/Campcaster/storageServer
|
||||||
if [ "`mount | grep -o \"on $storagedir \"`" = "on $storagedir " ]; then
|
if [ "`mount | grep -o \"on $storagedir \"`" = "on $storagedir " ]; then
|
||||||
|
echo "Unmounting the remote storage..."
|
||||||
umount $storagedir
|
umount $storagedir
|
||||||
touch $installdir/storageServer.wasMounted
|
touch $installdir/storageServer.wasMounted
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue