From: paul Date: Fri, 24 Apr 2015 13:55:51 +0000 (+0000) Subject: perform lookup for raspberry X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=f7095ce92ce8f659e2e9833ed4e8e4dededf825f;p=serve0 perform lookup for raspberry svn path=/trunk/; revision=40 --- 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" \