#!/bin/bash
set -e

export PATH=$PATH:/usr/share/eole/sbin

. /usr/lib/eole/samba4.sh
. /etc/eole/samba4-vars.conf

case "$1" in
    instance)
        samba_instance
        ;;

    reconfigure)
        samba_reconfigure
        ;;

    *)
        EchoRouge "Paramètre inconnu: ${1}"
        exit 1
        ;;
esac
exit 0
