1 2 3 4
if [ "$1" = "1" ]; then a2ensite glpi /etc/rc.d/init.d/httpd2 condreload fi
if [ "$1" = "1" ]; then a2dissite glpi /etc/rc.d/init.d/httpd2 condreload fi