#!/bin/bash


activer_haute_dispo=$(CreoleGet activer_haute_dispo)

if [ "$activer_haute_dispo" != "non" ]
then
    [ "$1" = "instance" ] && [ -e /etc/ha.d/.hdinitialized ] && rm -f /etc/ha.d/.hdinitialized
    /usr/share/eole/sbin/haute_dispo_maintenance activate
fi
exit 0
