mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
yWeb: remove support for outdated dboxshot binary
Origin commit data
------------------
Commit: 0d9e76171a
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-10-31 (Wed, 31 Oct 2018)
Origin message was:
------------------
- yWeb: remove support for outdated dboxshot binary
This commit is contained in:
@@ -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");
|
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 & OSD is disabled.", "failed");
|
|
||||||
~
|
|
||||||
sLog_addRow(sLog_body, "green", "Programs: dboxshot is installed at: {=var-get:dboxshot=}. Remote & OSD is enabled.", "ok");
|
|
||||||
=}
|
|
||||||
|
|
||||||
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
||||||
{=var-set:fcp={=find-exec:fcp=}=}
|
{=var-set:fcp={=find-exec:fcp=}=}
|
||||||
|
@@ -479,7 +479,7 @@ do_lcshot()
|
|||||||
}
|
}
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# osd shot
|
# osd shot
|
||||||
# $1= fbshot | grab | dbox bzw. leer
|
# $1= fbshot | grab
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
do_fbshot()
|
do_fbshot()
|
||||||
{
|
{
|
||||||
@@ -497,13 +497,6 @@ do_fbshot()
|
|||||||
else
|
else
|
||||||
grab $*
|
grab $*
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
shift 1
|
|
||||||
if [ -e "$y_path_varbin/dboxshot" ]; then
|
|
||||||
$y_path_varbin/dboxshot $*
|
|
||||||
else
|
|
||||||
dboxshot $*
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user