#!/bin/bash

/bin/cp /etc/nsswitch.conf.default /etc/nsswitch.conf
[ -f /etc/nsswitch.conf.noldap ] && action=enable || action=disable
systemctl $action eole-nsswitch eole-nsswitch-ldap
exit 0
