+interim_umount=false
+interim_umount1=false
+
+#
+# _restore_mount(): This function calls restore_mount function for "MOUNT" and
+# "MOUNT2" paths to mount clients if they were not mounted and were umounted
+# in this file earlier.
+# Parameter: None
+# Returns: None. Exit with error if client mount fails.
+#
+_restore_mount () {
+ if $interim_umount && ! is_mounted $MOUNT; then
+ restore_mount $MOUNT || error "Restore $MOUNT failed"
+ fi
+
+ if $interim_umount1 && ! is_mounted $MOUNT2; then
+ restore_mount $MOUNT2 || error "Restore $MOUNT2 failed"
+ fi
+}