- yWeb: remove support for outdated dboxshot binary

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-10-31 23:49:19 +01:00
committed by Thilo Graf
parent 4483bb67d3
commit 30fb127941
2 changed files with 1 additions and 14 deletions

View File

@@ -89,12 +89,6 @@ function do_check(){
~
sLog_addRow(sLog_body, "green", "Programs: fbshot is installed at: {=var-get:fbshot=}. OSD Screenshot is enabled.", "ok");
=}
{=var-set:dboxshot={=find-exec:dboxshot=}=}
{=if-empty:{=var-get:dboxshot=}~
sLog_addRow(sLog_body, "red", "Programs: dboxshot is not installed. Remote &amp; OSD is disabled.", "failed");
~
sLog_addRow(sLog_body, "green", "Programs: dboxshot is installed at: {=var-get:dboxshot=}. Remote &amp; OSD is enabled.", "ok");
=}
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
{=var-set:fcp={=find-exec:fcp=}=}

View File

@@ -479,7 +479,7 @@ do_lcshot()
}
# -----------------------------------------------------------
# osd shot
# $1= fbshot | grab | dbox bzw. leer
# $1= fbshot | grab
# -----------------------------------------------------------
do_fbshot()
{
@@ -497,13 +497,6 @@ do_fbshot()
else
grab $*
fi
else
shift 1
if [ -e "$y_path_varbin/dboxshot" ]; then
$y_path_varbin/dboxshot $*
else
dboxshot $*
fi
fi
}
# -----------------------------------------------------------