diff --git a/campcaster/etc/debian/campcaster-station.postinst b/campcaster/etc/debian/campcaster-station.postinst index 55f17467b..cdb6b3556 100644 --- a/campcaster/etc/debian/campcaster-station.postinst +++ b/campcaster/etc/debian/campcaster-station.postinst @@ -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 diff --git a/campcaster/etc/debian/campcaster-station.prerm b/campcaster/etc/debian/campcaster-station.prerm index 425fd5e0e..8cc451533 100644 --- a/campcaster/etc/debian/campcaster-station.prerm +++ b/campcaster/etc/debian/campcaster-station.prerm @@ -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