blob: 2ce208be11e3faf3ca43c1bbbfc3828b959501ce (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
# This script takes the IPlocal variable of the repository
# and returns the system interface
# Alfredo Luque <aluque@soleta.eu>
source /opt/opengnsys/etc/ogAdmRepo.cfg
ip addr show | grep $IPlocal | cut -f2 | awk '{ print $NF }'
|