Blame view

bridge.sh 512 Bytes
3e470988   hmalti   First commit
1
2
  #!/bin/bash
  
5721892d   hmalti   Avancées
3
  case $1 in
3e470988   hmalti   First commit
4
5
6
  
      "create")
          #Si on veut creer un bridge (qu'on a apellé le script ./balaine.sh bridge create)
5721892d   hmalti   Avancées
7
          bash create_bridge.sh "${@:2}"
3e470988   hmalti   First commit
8
9
10
          ;;
      "list")
          #Si on veut lister les bridges (qu'on a apellé le script ./balaine.sh bridge list)
5721892d   hmalti   Avancées
11
          bash list_bridges.sh "${@:2}"
3e470988   hmalti   First commit
12
13
          ;;
      "remove")
5721892d   hmalti   Avancées
14
          bash remove_bridge.sh "${@:2}"
3e470988   hmalti   First commit
15
16
             ;;
      "up")
5721892d   hmalti   Avancées
17
          bash up_bridge.sh "${@:2}"
3e470988   hmalti   First commit
18
19
             ;;
      "down")
5721892d   hmalti   Avancées
20
          bash down_bridge.sh "${@:2}"
3e470988   hmalti   First commit
21
  esac