#!/usr/bin/bash

source /etc/sysconfig/rest-server

if [ -z ${MOUNTPOINT} ]; then
    exit 0
fi

echo "umount $MOUNTPOINT"
umount $MOUNTPOINT
