Modificado auto_raspi.sh y añadido auto_raspi.desktop
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
|
||||||
|
# The type as listed above
|
||||||
|
Type=Application
|
||||||
|
|
||||||
|
# The version of the desktop entry specification to which this file complies
|
||||||
|
Version=1.0
|
||||||
|
|
||||||
|
# The name of the application
|
||||||
|
Name=eom
|
||||||
|
|
||||||
|
# A comment which can/will be used as a tooltip
|
||||||
|
Comment=Spectrum Screens SlideShow
|
||||||
|
|
||||||
|
# The path to the folder in which the executable is run
|
||||||
|
#Path=/opt/jmemorise
|
||||||
|
|
||||||
|
# The executable of the application, possibly with arguments.
|
||||||
|
Exec=/home/sergio/gitea/scripts/bash/auto_raspi.sh 1
|
||||||
|
|
||||||
|
# The name of the icon that will be used to display this entry
|
||||||
|
#Icon=jmemorize
|
||||||
|
|
||||||
|
# Describes whether this application needs to be run in a terminal or not
|
||||||
|
#Terminal=false
|
||||||
|
|
||||||
|
# Describes the categories in which this entry should be shown
|
||||||
|
#Categories=Education;Languages;Java;
|
||||||
@@ -14,6 +14,12 @@ fi
|
|||||||
|
|
||||||
# Script para montar un tunel ssh hasta una camara
|
# Script para montar un tunel ssh hasta una camara
|
||||||
# y mostrar el stream de video con el vlc
|
# y mostrar el stream de video con el vlc
|
||||||
|
# Añadir al fichero ~/.ssh/config la siguiente información
|
||||||
|
# Host cam
|
||||||
|
# HostName sustancia.synology.me
|
||||||
|
# User sergio
|
||||||
|
# Port 4545
|
||||||
|
# LocalForward 127.0.0.1:3501 192.168.1.150:554
|
||||||
if [[ $1 == 2 ]]
|
if [[ $1 == 2 ]]
|
||||||
then
|
then
|
||||||
sleep 20
|
sleep 20
|
||||||
|
|||||||
Reference in New Issue
Block a user