Wie AutoShutdwon ausschalten?

  • Hi,


    ich wollte letzte Nacht ein Video mit tosvcd in mpeg1 konvertieren lassen. Leider hat sich der Rechner irgendwann von selbst ausgeschaltet, obwohl ich mit
    /etc/init.d/cron stop 2>&1 ; echo "Auto Shutdown ist aus."
    den AutoShutdown über commands.conf beendet habe. Was kann ich verkehrt gemacht haben? :(


    mat

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

  • stell einfach im menü->Einstellungen->Sonstiges die Mindest Benutzer Inaktivität auf 0 oder modifizier deine vdrshutdown so das sie vor dem shutdown überprüft ob vdr2divx oder tosvcd noch arbeiten. Das sieht dann ungefähr so aus:
    SVCDSH="`ps -ef | grep -e svcd.sh | grep -c -v grep`"
    VDRDIV="`ps -ef | grep -e wait2enc.sh | grep -c -v grep`"


    if [ -e /usr/local/src/VDRtmp/toconvert_lock ]; then
    echo "`date` >>>>>>>>> no shutdown - tosvcd (convert.pl) ist active <<<<<<<<<" >> /var/log/messages
    exit 0
    fi


    if [ $VDRDIV -ne 0 ] && [ -s /usr/local/src/VDRtmp/JobQ ]; then
    echo "`date` >>>>>>>>> no shutdown - vdr2divx ist active <<<<<<<<<<<<<<<<<<<<" >> /var/log/messages
    exit 0
    fi


    if [ $SVCDSH -ne 0 ] && [ -s /usr/local/src/VDRtmp/toconvert.txt ]; then
    echo "`date` >>>>>>>>> no shutdown - tosvcd (svcd.sh) ist active <<<<<<<<<<<<" >> /var/log/messages
    exit 0
    fi

    Gehäuse: Silverstone LC01 (silver) // Mainboard: GigabyteK8NF-9 // CPU: AMD AthlonXP 3200+ // RAM: 4GB DDR400 // NT: Sunflower // CD/DVD: Pioneer DVR A07XLA // HDD: 1xOCZ-SSD 64GB 1 x WD20EARS 2TB 1 x WD30EZRX // PCI: 3 x DVB-C (Cinergy PCI HD) // VGA: Gainward Nvidia GeForce 210 // TV: LG 42LD 550

  • Hi,


    danke gute Idee, werd ich mal probieren!


    mat

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

  • Hi,


    also irgendwie will das bie mir noch nicht funktionieren. Mein Script "vdrshutdown" sieht folgendermaßen aus:


    #!/bin/sh


    VDRDIV="`ps -ef | grep -e wait2enc.sh | grep -c -v grep`"


    if [ -e /video/mpeg/toconvert_lock ]; then
    echo "`date` >>>>>>>>> no shutdown - tosvcd ist aktiv <<<<<<<<<" >> /var/log/messages
    exit 0
    fi


    if [ $VDRDIV -ne 0 ] && [ -s /video/mpeg/JobQ ]; then
    echo "`date` >>>>>>>>> no shutdown - vdr2divx ist aktiv <<<<<<<<<<<<<<<<<<<<" >> /var/log/messages
    exit 0
    fi


    poweroff




    Was ist daran falsch?


    mat

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

  • erstmal is da so nix falsch......über welches script convertierst du denn? convert.pl? oder svcd.sh?

    Gehäuse: Silverstone LC01 (silver) // Mainboard: GigabyteK8NF-9 // CPU: AMD AthlonXP 3200+ // RAM: 4GB DDR400 // NT: Sunflower // CD/DVD: Pioneer DVR A07XLA // HDD: 1xOCZ-SSD 64GB 1 x WD20EARS 2TB 1 x WD30EZRX // PCI: 3 x DVB-C (Cinergy PCI HD) // VGA: Gainward Nvidia GeForce 210 // TV: LG 42LD 550

  • Hi,


    ich benutze convert.pl und habe mit obigem Script das Problem, dass der Rechner sich immer ausschaltet, auch wenn eine Konvertierung läuft.


    mat

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

  • gut, jetzt kontrolier mal bitte ob unter /video/mpeg/ die toconvert_lock datei liegt wenn eine convertierung mit der convert.pl aktiv ist.

    Gehäuse: Silverstone LC01 (silver) // Mainboard: GigabyteK8NF-9 // CPU: AMD AthlonXP 3200+ // RAM: 4GB DDR400 // NT: Sunflower // CD/DVD: Pioneer DVR A07XLA // HDD: 1xOCZ-SSD 64GB 1 x WD20EARS 2TB 1 x WD30EZRX // PCI: 3 x DVB-C (Cinergy PCI HD) // VGA: Gainward Nvidia GeForce 210 // TV: LG 42LD 550

  • Hi,


    so jetzt hab ichs hinbekommen, es geht noch um einiges einfacher:


    Bash
    #!/bin/bash
    test -s /video/toconvert_lock && exit 1
    poweroff


    totzdem danke,


    mat

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!