#!/bin/bash

if [ "$1" = "instance" ] && [ -d /home/esu/Base ]; then
    . /usr/lib/eole/ihm.sh
    echo
    Question_ouinon "Voulez-vous réinitialiser la base ESU ?" "True" "non" "warn"
    if [ "$?" = "0" ]; then
        rm -rf /home/esu/Base/*
    fi
fi

exit 0
