source: server/bin/getRepoIface @ 7da63e81

Last change on this file since 7da63e81 was de8c4ea, checked in by OpenGnSys Support Team <soporte-og@…>, 7 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.