#!/bin/bash

#création avant instance
install_rvp=$(CreoleGet install_rvp non)

if [ "$install_rvp" = "oui" ]; then
    install -d -m 755 /etc/ipsec.d
    install -d -m 755 /etc/ipsec.d/conf
    install -d -m 755 /etc/ipsec.d/cacerts
    install -d -m 755 /etc/ipsec.d/certs
    install -d -m 755 /etc/ipsec.d/crls
    install -d -m 700 /etc/ipsec.d/private
fi

exit 0