diff --git a/gestion/tools/who2b b/gestion/tools/who2b deleted file mode 100755 index 06de234c..00000000 --- a/gestion/tools/who2b +++ /dev/null @@ -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 "$@" diff --git a/gestion/tools/whosthere.py b/gestion/tools/whosthere.py index e270a280..98014f6d 100755 --- a/gestion/tools/whosthere.py +++ b/gestion/tools/whosthere.py @@ -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', ] diff --git a/respbats/who2b b/respbats/who2b new file mode 100755 index 00000000..3abe024e --- /dev/null +++ b/respbats/who2b @@ -0,0 +1,3 @@ +#!/bin/bash + +sudo /usr/scripts/gestion/tools/whosthere.py 2b diff --git a/respbats/who4j b/respbats/who4j index 6532b9fa..6da793f0 100755 --- a/respbats/who4j +++ b/respbats/who4j @@ -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