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

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