[whokfet] seulement sur zamok
Ignore-this: dfcf900fc0d2593b2a26d6da93750491 darcs-hash:20121108175805-ffbb2-3eb05ac43df150c5438215f84794a811ca0ab089.gz
This commit is contained in:
parent
4813c8f43c
commit
c5d08c0368
1 changed files with 8 additions and 1 deletions
9
respbats/whokfet
Normal file → Executable file
9
respbats/whokfet
Normal file → Executable file
|
@ -1 +1,8 @@
|
||||||
sudo -u respbats /usr/scripts/gestion/tools/whokfet.py
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ `hostname` != "zamok" ]; then
|
||||||
|
echo "Merci d'exécuter ce script sur zamok."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec sudo -u respbats /usr/scripts/gestion/tools/whokfet.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue