remplace who2b par whosthere 2b

This commit is contained in:
Gabriel Detraz 2015-08-17 19:55:21 +02:00
parent 39409ec894
commit a9593fe783
4 changed files with 4 additions and 14 deletions

View file

@ -1,8 +0,0 @@
#!/bin/bash
if [ `hostname` != "vo" ]; then
echo "Merci d'executer ce script sur vo."
exit 1
fi
sudo -u root /usr/scripts/gestion/tools/who2b.py "$@"

View file

@ -262,7 +262,7 @@ class Who2B(WhosThere):
expected = [
'terminal.crans.org',
'minigiga.adm.crans.org',
'belides.wifi.crans.org',
'mao.wifi.crans.org',
'tinybrother.adm.crans.org',
'vo.crans.org',
]

3
respbats/who2b Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
sudo /usr/scripts/gestion/tools/whosthere.py 2b

View file

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