diff options
| author | Jonathan Bauer | 2014-04-14 19:01:23 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2014-04-14 19:01:23 +0200 |
| commit | 0d939fc97bde1d719cecc76ec3404e8e8c8f52f5 (patch) | |
| tree | eb1a710c776c3954ca361807068202b798ef526a | |
| parent | added include for selecting qt version (diff) | |
| parent | [beamergui] Dynamically get ips for the config :D (diff) | |
| download | tm-scripts-0d939fc97bde1d719cecc76ec3404e8e8c8f52f5.tar.gz tm-scripts-0d939fc97bde1d719cecc76ec3404e8e8c8f52f5.tar.xz tm-scripts-0d939fc97bde1d719cecc76ec3404e8e8c8f52f5.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
| -rwxr-xr-x | remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter b/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter index 3d45550c..0ee6e274 100755 --- a/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter +++ b/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter @@ -113,8 +113,11 @@ if [ ${#OUTPUTNAMES[@]} -eq 2 ]; then echo "Config file found." + # Get local ip + . /opt/openslx/config + # Try to get a probed mode - PROBEDMODE=$(cat $CONFIGFILE | awk -F "=" '/132.230.4.156/ {print $2}') + PROBEDMODE=$(cat $CONFIGFILE | grep $SLX_PXE_CLIENT_IP | cut -d '=' -f2) # If a probed mode was found, .. if [[ -n "$PROBEDMODE" ]]; then |
