Blame view

up_bridge.sh 245 Bytes
3e470988   hmalti   First commit
1
2
3
4
5
6
7
8
  #!/bin/bash
  NOM_BRIDGE=$3;
  #vérification que l'utilisateur donne bien un nom à l'image
  if [[ -z "$NOM_BRIDGE" ]]; then 
    echo "Il faut donner le nom du bridge Relancez la commande avec les bons arguments."
    exit
  fi
  ip link set $NOM_BRIDGE up