Skip to content

Commit

Permalink
added script to automatize start
Browse files Browse the repository at this point in the history
  • Loading branch information
maiconkist committed Mar 26, 2019
1 parent c83b522 commit 1935795
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/wins_start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

if [[ $HOSTNAME == *"server"* ]]; then
echo "Running server app"
python ~/gr-hydra/grc_blocks/app/ansible_hydra_gr_server.py
elif [[ $HOSTNAME == *"rx1"* ]]; then
echo "Running rx1 app"
python ~/gr-hydra/grc_blocks/app/ansible_hydra_vr1_rx.py
elif [[ $HOSTNAME == *"rx2"* ]]; then
echo "Running rx2 app"
python ~/gr-hydra/grc_blocks/app/ansible_hydra_vr2_rx.py
elif [[ $HOSTNAME == *"client"* ]]; then
echo "Running client app"
python ~/gr-hydra/grc_blocks/app/ansible_hydra_gr_client_2tx_2rx.py
fi

0 comments on commit 1935795

Please sign in to comment.