Fusion de whosthere et whokfet, archivage de whokfet old
This commit is contained in:
parent
c0a2697aea
commit
6258828e31
5 changed files with 6 additions and 8 deletions
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo /usr/scripts/gestion/tools/whosthere.py 2b
|
|
||||||
|
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 2b "$@"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 4j
|
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 4j "$@"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ `hostname` != "zamok" ]; then
|
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py dalembert "$@"
|
||||||
echo "Merci d'executer ce script sur zamok."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo -u respbats /usr/scripts/gestion/tools/whosthere.py dalembert
|
|
||||||
|
|
|
@ -5,4 +5,4 @@ if [ `hostname` != "zamok" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec sudo -u respbats /usr/scripts/gestion/tools/whokfet.py "$@"
|
exec sudo -u respbats /usr/scripts/gestion/tools/whosthere.py kfet "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue