<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://wiki.stizi.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.stizi.de/feed.php">
        <title>stiziwik - vdr:scripte</title>
        <description></description>
        <link>http://wiki.stizi.de/</link>
        <image rdf:resource="http://wiki.stizi.de/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-04-30T04:14:12+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.stizi.de/vdr:scripte:log-upload?rev=1707203128&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.stizi.de/vdr:scripte:remoteconf?rev=1707203174&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.stizi.de/vdr:scripte:runvdr?rev=1707203228&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.stizi.de/vdr:scripte:scripte?rev=1712771543&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.stizi.de/vdr:scripte:usermod-vdruser?rev=1707203209&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.stizi.de/vdr:scripte:vdrpoweroff?rev=1707203151&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.stizi.de/_media/wiki:dokuwiki.svg">
        <title>stiziwik</title>
        <link>http://wiki.stizi.de/</link>
        <url>http://wiki.stizi.de/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://wiki.stizi.de/vdr:scripte:log-upload?rev=1707203128&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-06T07:05:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Log-upload</title>
        <link>http://wiki.stizi.de/vdr:scripte:log-upload?rev=1707203128&amp;do=diff</link>
        <description>Log-upload

Logs von einem VDR auf einen Webserver hochladen zwecks Debugging.

Webserver vorbereiten

Auf dem Webserver das PHP-Upload-Script von hier im jew. gewählten Verzeichnis erstellen.

VDR vorbereiten

Zuerst Upload-Script erstellen.

touch /usr/local/bin/log-upload.sh
chmod a+x /usr/local/bin/log-upload.sh</description>
    </item>
    <item rdf:about="http://wiki.stizi.de/vdr:scripte:remoteconf?rev=1707203174&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-06T07:06:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Remoteconf</title>
        <link>http://wiki.stizi.de/vdr:scripte:remoteconf?rev=1707203174&amp;do=diff</link>
        <description>Remoteconf

KBD.Up         00000000001B4F41
KBD.Down       00000000001B4F42
KBD.Menu       0000001B5B31397E    #F8
KBD.Ok         000000000000000D    #Enter
KBD.Back       000000001B5B347E    #Backspace
KBD.Left       00000000001B4F44
KBD.Right      00000000001B4F43
KBD.Red        00000000001B4F50    #F1
KBD.Green      00000000001B4F51    #F2
KBD.Yellow     00000000001B4F52    #F3
KBD.Blue       00000000001B4F53    #F4
KBD.0          0000000000000030
KBD.1          0000000000000031
KBD.2        …</description>
    </item>
    <item rdf:about="http://wiki.stizi.de/vdr:scripte:runvdr?rev=1707203228&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-06T07:07:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Runvdr</title>
        <link>http://wiki.stizi.de/vdr:scripte:runvdr?rev=1707203228&amp;do=diff</link>
        <description>Runvdr


#!/bin/bash

# runvdr: Loads the DVB driver and runs VDR
#
# If VDR exits abnormally, the driver will be reloaded
# and VDR restarted.
#
# In order to actually use this script you need to implement
# the functions DriverLoaded(), LoadDriver() and UnloadDriver()
# and maybe adjust the VDRPRG and VDRCMD to your particular
# requirements.
#
# Since this script loads the DVB driver, it must be started
# as user &#039;root&#039;. Add the option &quot;-u username&quot; to run VDR
# under the given user name.
#
#…</description>
    </item>
    <item rdf:about="http://wiki.stizi.de/vdr:scripte:scripte?rev=1712771543&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T17:52:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Scripte</title>
        <link>http://wiki.stizi.de/vdr:scripte:scripte?rev=1712771543&amp;do=diff</link>
        <description>Scripte</description>
    </item>
    <item rdf:about="http://wiki.stizi.de/vdr:scripte:usermod-vdruser?rev=1707203209&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-06T07:06:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Usermod Vdruser</title>
        <link>http://wiki.stizi.de/vdr:scripte:usermod-vdruser?rev=1707203209&amp;do=diff</link>
        <description>Usermod Vdruser


#!/bin/bash
USER=vdruser
GROUP=vdruser
MOD=777
VDRVER=&quot;1.7.20&quot;
VDRADMINVER=&quot;3.6.7&quot;
sudo chown -R $USER.$GROUP /usr/local/src/vdr
sudo chown -R $USER.$GROUP /usr/local/src/vdr-$VDRVER
sudo chown -R $USER.$GROUP /usr/local/src/vdradmin-am-$VDRADMINVER
sudo chown -R $USER.$GROUP /etc/vdradmin
sudo chown -R $USER.$GROUP /var/cache/vdradmin
sudo chown -R $USER.$GROUP /var/run/vdradmin
sudo chown -R $USER.$GROUP /var/log/vdradmin
sudo chown -R $USER.$GROUP /etc/vdr
sudo chown -R $USE…</description>
    </item>
    <item rdf:about="http://wiki.stizi.de/vdr:scripte:vdrpoweroff?rev=1707203151&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-06T07:05:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Vdrpoweroff</title>
        <link>http://wiki.stizi.de/vdr:scripte:vdrpoweroff?rev=1707203151&amp;do=diff</link>
        <description>Vdrpoweroff


#!/bin/bash

#BIOS Uhrzeit auf UTC stellen
sudo hwclock --systohc --utc

DEV=/sys/class/rtc/rtc0/wakealarm
DATE=/bin/date

       if [[ &quot;$DATE&quot; =~ &quot;CEST&quot; ]]; then
               TIMER=`echo &quot;$1 + 2 * 60 * 60&quot; | bc`;
       else
               TIMER=`echo &quot;$1 + 60 * 60&quot; | bc`;
       
       fi
#TIMER=$1
sudo sh -c &quot;echo 0 &gt; $DEV&quot;
sudo sh -c &quot;echo $TIMER &gt; $DEV&quot;

#Wake On LAN einschalten
sudo ethtool -s eth0 wol g

#Ausschalten
pkill -SIGINT vdr
sleep 4
sudo /sbin/shutdown -h now</description>
    </item>
</rdf:RDF>
