Paule0815 Geschrieben 4. März 2013 Melden Share Geschrieben 4. März 2013 Ich möchte meine Zee gern 1x täglich zu einer festgelegten Uhrzeit neu starten lassen. Ich denke, dass man dazu einen neuen Timer anlegen muss, der ein Plugin ausführt. Aber ein Plugin 'Reboot' finde ich dort nicht. Wie kann ich das hinbekommen? Greetz -Paule Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
TwT Geschrieben 5. März 2013 Melden Share Geschrieben 5. März 2013 (bearbeitet) Shutdown und dann umschalten funktioniert bei der Cooli immer noch. siehe hier: http://www.keywelt-b...eustart-plugin/ TwT bearbeitet 5. März 2013 von TwT Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
MacFco Geschrieben 5. März 2013 Melden Share Geschrieben 5. März 2013 @Paule0815 Ich mach das in etwa so, probier das mal: Ausserdem ist nur ein Timer, anstatt zwei erforderlich. Beide Dateien (2x Spoiler) im ASCII-Unix-Datei-Format speichern. Dateinamen: 03_reboot_dbx.cfg und 03_reboot_dbx.sh Kopieren nach /var/tuxbox/plugins/03_reboot_dbx.cfg type=3 name=Reboot Coolstream desc=Coolstream neustarten needfb=0 needrc=0 needvtxtpid=0 needoffsets=0 Kopieren nach und Rechte auf chmod 755 /var/tuxbox/plugins/03_reboot_dbx.sh #!/bin/sh # Saves EPG and reboots Coolstream. # For Coolstream Kw-Images. Location /var/tuxbox/plugins/03_reboot_dbx.sh echo "--- Executing /var/tuxbox/plugins/03_reboot_dbx.sh ---" > /dev/console # Flag for recording if [ -e /tmp/.record ]; then echo "--- /tmp/.record does exist (recording), dont reboot. ---" > /dev/console exit 0 fi # Flag for rebooting if [ ! -e /tmp/.reboot ]; then touch /tmp/.reboot && echo "--- /tmp/.reboot created ---" > /dev/console fi # Saves EPG, if on and path exist. epg_dir="" epg_save="" if grep -q "epg_save=" /var/tuxbox/config/neutrino.conf; then epg_save=`grep "epg_save=" /var/tuxbox/config/neutrino.conf | cut -f2 -d=` if [ "$epg_save" = "true" -o "$epg_save" = "1" ]; then if grep -q "epg_dir=/" /var/tuxbox/config/neutrino.conf; then epg_dir=`grep "epg_dir=" /var/tuxbox/config/neutrino.conf | cut -f2 -d=` if [ "$epg_dir" != "" -a "$epg_dir" != "/" ]; then if [ -d "$epg_dir" ]; then echo "--- sectionsdcontrol --saveepg to "$epg_dir" ---" > /dev/console sectionsdcontrol --saveepg "$epg_dir" > /dev/null sleep 1 else echo "--- sectionsdcontrol --saveepg to "$epg_dir", EPG directory does not exist ---" > /dev/console fi fi fi fi fi sync sync # Kills (shutdown) Neutrino-binary (-15), saves timer-, channellist etc., shutsdown timed, sectionsd, zapit # etc., continues start_neutrino and reboots box, if /tmp/.reboot exist, otherwise system shutdown (halt). echo "--- killall -15 neutrino # -TERM (software termination signal) ---" > /dev/console killall -15 neutrino exit 0 Unter Menu-->Service-->Plugins neu laden. Unter Taste blau, gelb und grün, dann Plugin-Timer anlegen. Zu beachten: In der Plugin-Auswahl erscheint der Script-/Pluginname ohne die ".sh"-Erweiterung, dementsprechend ist auch in yWeb bei der Timererstellung, das Script/Plugin ohne ".sh" anzugeben. Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Paule0815 Geschrieben 6. März 2013 Autor Melden Share Geschrieben 6. März 2013 @ MacFco Vielen Dank, das funzt! @ Devs Auch wenn die Methode "Shutdown + Umschalten" funzt, vllt. sollte man das Reboot-Plugin mit das Keywelt-Image übernehmen. Greetz Paule Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
colt Geschrieben 7. März 2013 Melden Share Geschrieben 7. März 2013 Moin ..... vllt. sollte man das Reboot-Plugin mit das Keywelt-Image übernehmen. Warum? Die Coolis laufen, richtig konfiguriert, absolut stabil .... auch im 24/7 Serverbetrieb ...... Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Empfohlene Beiträge