From f7095ce92ce8f659e2e9833ed4e8e4dededf825f Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 24 Apr 2015 13:55:51 +0000 Subject: [PATCH] perform lookup for raspberry svn path=/trunk/; revision=40 --- pages/videoview.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/videoview.sh b/pages/videoview.sh index 962cd52..9245998 100755 --- a/pages/videoview.sh +++ b/pages/videoview.sh @@ -95,7 +95,8 @@ _printVideo(){ linkinfo="$(urlsave "$info")" - rpibase="http://pfostenpanne/?path=http://jupiter:8000/" + rpiaddr="$(host pfostenpanne |sed -r 's;^.* ([0-9\.]+)$;\1;')" + rpibase="http://${rpiaddr}/?path=http://jupiter:8000/" [ $height -gt 480 ] && \ raspi="RasPi" \ -- 2.39.2