source: server/bin/getRepoIface @ 240a4dc

918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since 240a4dc was de8c4ea, checked in by OpenGnSys Support Team <soporte-og@…>, 6 years ago

#878 sendFileMcast now works with more than one server interface

  • 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.