source: repoman/bin/getRepoIface

qndtest
Last change on this file was 01ae374d, checked in by Fredy <aluque@…>, 6 years ago

Added main repo interface parameter to sendFileMcast script to solve problems when more than one interface are available

  • Property mode set to 100755
File size: 245 bytes
Line 
1#!/bin/bash
2
3# This script takes the IPlocal variable of the repository
4# and returns the system interface
5# Alfredo Luque <aluque@soleta.eu>
6
7source /opt/opengnsys/etc/ogAdmRepo.cfg
8
9ip addr show | grep $IPlocal | cut -f2 | awk '{ print $NF }'
Note: See TracBrowser for help on using the repository browser.