remplace who2b par whosthere 2b
This commit is contained in:
parent
39409ec894
commit
a9593fe783
4 changed files with 4 additions and 14 deletions
|
@ -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 "$@"
|
|
|
@ -262,7 +262,7 @@ class Who2B(WhosThere):
|
||||||
expected = [
|
expected = [
|
||||||
'terminal.crans.org',
|
'terminal.crans.org',
|
||||||
'minigiga.adm.crans.org',
|
'minigiga.adm.crans.org',
|
||||||
'belides.wifi.crans.org',
|
'mao.wifi.crans.org',
|
||||||
'tinybrother.adm.crans.org',
|
'tinybrother.adm.crans.org',
|
||||||
'vo.crans.org',
|
'vo.crans.org',
|
||||||
]
|
]
|
||||||
|
|
3
respbats/who2b
Executable file
3
respbats/who2b
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo /usr/scripts/gestion/tools/whosthere.py 2b
|
|
@ -1,8 +1,3 @@
|
||||||
#!/bin/bash
|
#!/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
|
sudo -u respbats /usr/scripts/gestion/tools/whosthere.py 4j
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue