Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / tasks / 80UmountImage.in @ de7269cd

History | View | Annotate | Download (394 Bytes)

1
#! /bin/bash
2

    
3
### BEGIN TASK INFO
4
# Provides:		UmountImage
5
# RunBefore:
6
# RunAfter:		MountImage
7
# Short-Description:	Umount the partition that hosts the image
8
### END TASK INFO
9

    
10
set -e
11
. "@commondir@/common.sh"
12

    
13
if [ ! -d "$SNF_IMAGE_TARGET" ]; then
14
	log_error "Target dir:\`$SNF_IMAGE_TARGET' is missing"
15
fi
16

    
17
umount "$SNF_IMAGE_TARGET"
18

    
19
exit 0
20

    
21
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai :
22