13 lines
222 B
Bash
13 lines
222 B
Bash
#!/bin/bash
|
|
|
|
|
|
[[ $(CreoleGet activerLemon non) == "non" ]] && exit 0
|
|
|
|
# Updating Configuration cache
|
|
|
|
cmd="/usr/share/lemonldap-ng/bin/lemonldap-ng-cli update-cache"
|
|
opt="update-cache"
|
|
|
|
res=$(${cmd} ${opt} 2>&1)
|
|
exit ${?}
|