Last change
on this file since 1d1e06d was
01ae374d,
checked in by Fredy <aluque@…>, 7 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
|
Rev | Line | |
---|
[01ae374d] | 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 | |
---|
| 7 | source /opt/opengnsys/etc/ogAdmRepo.cfg |
---|
| 8 | |
---|
| 9 | ip addr show | grep $IPlocal | cut -f2 | awk '{ print $NF }' |
---|
Note: See
TracBrowser
for help on using the repository browser.