#!/bin/bash # Updating Configuration cache cmd="/usr/share/lemonldap-ng/bin/lemonldap-ng-cli update-cache" opt="update-cache" res=$(${cmd} ${opt} 2>&1) exit ${?}