yWeb: enable grab to do screenshots

Origin commit data
------------------
Branch: ni/coolstream
Commit: 641346d84b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-13 (Fri, 13 Oct 2017)

Origin message was:
------------------
- yWeb: enable grab to do screenshots

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-13 14:06:04 +02:00
parent 5ae57414b0
commit d2d00f8d7a
3 changed files with 20 additions and 4 deletions

View File

@@ -77,6 +77,12 @@ function do_check(){
=}
/*programs*/
{=var-set:grab={=find-exec:grab=}=}
{=if-empty:{=var-get:grab=}~
sLog_addRow(sLog_body, "red", "Programs: grab is not installed. OSD Screenshot is disabled. ", "failed");
~
sLog_addRow(sLog_body, "green", "Programs: grab is installed at: {=var-get:grab=}. OSD Screenshot is enabled.", "ok");
=}
{=var-set:fbshot={=find-exec:fbshot=}=}
{=if-empty:{=var-get:fbshot=}~
sLog_addRow(sLog_body, "red", "Programs: fbshot is not installed. OSD Screenshot is disabled. ", "failed");