Fusion de whosthere et whokfet, archivage de whokfet old

This commit is contained in:
Gabriel Detraz 2015-08-18 16:38:52 +02:00
parent c0a2697aea
commit 6258828e31
5 changed files with 6 additions and 8 deletions

View file

@ -1,3 +1,4 @@
#!/bin/bash
sudo /usr/scripts/gestion/tools/whosthere.py 2b
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 2b "$@"

View file

@ -1,3 +1,4 @@
#!/bin/bash
sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 4j
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 4j "$@"

View file

@ -1,8 +1,4 @@
#!/bin/bash
if [ `hostname` != "zamok" ]; then
echo "Merci d'executer ce script sur zamok."
exit 1
fi
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py dalembert "$@"
sudo -u respbats /usr/scripts/gestion/tools/whosthere.py dalembert

View file

@ -5,4 +5,4 @@ if [ `hostname` != "zamok" ]; then
exit 1
fi
exec sudo -u respbats /usr/scripts/gestion/tools/whokfet.py "$@"
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py kfet "$@"