From f02576eed01ceebb9d5980a76bb9e7451d5eaea7 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Wed, 7 Feb 2007 10:44:23 +0000 Subject: [PATCH] added some debug messages when unmounting/remounting is done (part of #2101) --- campcaster/etc/debian/campcaster-station.postinst | 1 + campcaster/etc/debian/campcaster-station.prerm | 1 + 2 files changed, 2 insertions(+) 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