Installscript-command-cmds

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Beschreibung)
(qy5n43 <a href="http://gojcyjknxslv.com/">gojcyjknxslv</a>, [url=http://dtisyeoaqvxj.com/]dtisyeoaqvxj[/url], [link=http://plpdmeddgvuo.com/]plpdmeddgvuo[/link], http://lbinkxoviffq.com/)
Zeile 1: Zeile 1:
==Beschreibung==
+
qy5n43  <a href="http://gojcyjknxslv.com/">gojcyjknxslv</a>, [url=http://dtisyeoaqvxj.com/]dtisyeoaqvxj[/url], [link=http://plpdmeddgvuo.com/]plpdmeddgvuo[/link], http://lbinkxoviffq.com/
In '''../command-cmds''' befinden sich Scripte, welche die Konfigurations Dateien erstellen.
+
 
+
* [[commands.conf]]
+
* [[reccmds.conf]]
+
* [[timercmds.conf]]
+
 
+
Format (Datei):
+
 
+
'''<DATEI>-<NUM>-<NAME>'''.cmd
+
 
+
Format (Head):
+
 
+
START="0"            # 0 = inactiv / 1 = activ
+
CHECK=$(true)        # tests
+
 
+
Das ganze kann im [[admin-plugin]] aktiviert bzw deaktiviert werden. ('''0 = inactiv, 1 = activ''')
+
 
+
''Oder, auf der Kommandozeile.''
+
 
+
shell> [[Installscript-dialog.sh|$PREFIX/etc/vdr/admin/dialog.sh]]
+
 
+
[[Bild:installscript-admin-command-cmds.jpg|thumb|none|''kurze beschreibung'']]
+
 
+
Alles weitere sollte im '''syslog''' ersichtlich sein. (vorrausgesetzt '''$VDR_LOG -gt 0''')
+
 
+
'START'='1' -> '../command-cmds/commands-01-system.cmd'
+
'START'='1' -> '../command-cmds/commands-02-vdr.cmd'
+
'START'='0' -> '../command-cmds/reccmds-01-noad.cmd'
+
'START'='0' -> '../command-cmds/reccmds-02-cutinplace.cmd'
+
'START'='0' -> '../command-cmds/timercmds-01-epgsearch.cmd'
+
 
+
''Rest'' wird per ... an benannte Dateien angehangen.
+
  
 
==Bsp (1)==
 
==Bsp (1)==

Version vom 14. Dezember 2009, 14:13 Uhr

qy5n43 <a href="http://gojcyjknxslv.com/">gojcyjknxslv</a>, [url=http://dtisyeoaqvxj.com/]dtisyeoaqvxj[/url], [link=http://plpdmeddgvuo.com/]plpdmeddgvuo[/link], http://lbinkxoviffq.com/

Bsp (1)

Beispiel für rtorrent.

Datei
../commands-03-rtorrent.cmd
#!/bin/sh
#
# example script

START="0"
CHECK=$(which rtorrent >/dev/null 2>&1)

echo " --- "$"r t o r r e n t"" --- : echo"
echo " "$"Run rtorrent""            : cd \"$ADMDIR/start-cmds/rc\" ; sh rtorrent start"
echo " "$"Status""                  : cd \"$ADMDIR/start-cmds/rc\" ; sh rtorrent log"
echo " "$"5 KB + (up)""             : cd \"$ADMDIR/start-cmds/rc\" ; sh rtorrent key s"
echo " "$"5 KB - (up)""             : cd \"$ADMDIR/start-cmds/rc\" ; sh rtorrent key x"
echo " "$"Stop rtorrent""?          : cd \"$ADMDIR/start-cmds/rc\" ; sh rtorrent stop"