Commit b6d15e3c authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[crans] Disclaimer

parent 90e7315d
#! /bin/sh #! /bin/bash
if [ ! -e /usr/scripts/var/glissantes_ok/$EUID ]; then
if [ ! -e /usr/scripts/var/encodage_scripts/$UID ]; then cat /usr/scripts/var/glissantes_ok/disclaimer
cat /usr/scripts/var/encodage_scripts/disclaimer read a
touch /usr/scripts/var/encodage_scripts/$UID touch /usr/scripts/var/glissantes_ok/$EUID
else fi
# Si le script sort avec une erreur, on purge les locks deads # Si le script sort avec une erreur, on purge les locks deads
LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/gest_crans.py "$@" LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/gest_crans.py "$@"
trucmuche=$? trucmuche=$?
[ $trucmuche -eq 0 ] || LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/ldap_crans.py --zombielock [ $trucmuche -eq 0 ] || LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/ldap_crans.py --zombielock
exit $(($trucmuche + $?)) exit $(($trucmuche + $?))
fi;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment