Frohes neues Jahr
das mit dem Problem kann ich so nicht ganz nachvollziehen. Hier ist in der der halt Datei schon das "Schlafen legen" vorgegeben.
Eventuell kann man das noch anpassen. Meine Festplatte macht artig sleep.
Alles anzeigen
übrigens Mediaportal läuft einwandfrei mann muss die ipk oder die Dateien der python compression installieren oder einführen.
Anschließend noch via Softwareverwaltung das bz2 Modul nachladen. Ist so auf dem Feed drauf.
Vielleicht könnt man die ab der aktuellen Version von Pixbox das Thema neu einstellen.
Grüße
das mit dem Problem kann ich so nicht ganz nachvollziehen. Hier ist in der der halt Datei schon das "Schlafen legen" vorgegeben.
Eventuell kann man das noch anpassen. Meine Festplatte macht artig sleep.
Quellcode
- #! /bin/sh
- #
- # halt Execute the halt command.
- #
- # Version: @(#)halt 2.85-22 19-Jun-2004 miquels@cistron.nl
- #
- # chkconfig: 0 90 0
- #
- PATH=/sbin:/bin:/usr/sbin:/usr/bin
- # Get the default from /etc/default/halt.
- [ -f /etc/default/halt ] && . /etc/default/halt
- if [ "$INIT_HALT" = "" ]
- then
- case "$HALT" in
- [Pp]*)
- INIT_HALT=POWEROFF
- ;;
- [Hh]*)
- INIT_HALT=HALT
- ;;
- *)
- INIT_HALT=POWEROFF
- ;;
- esac
- fi
- # See if we need to cut the power.
- if [ "$INIT_HALT" = "POWEROFF" ] && [ -x /etc/init.d/ups-monitor ]
- then
- /etc/init.d/ups-monitor poweroff
- fi
- # Don't shut down drives if we're using RAID.
- hddown="-h"
- if grep -qs '^md.*active' /proc/mdstat
- then
- hddown=""
- fi
- # If INIT_HALT=HALT don't poweroff.
- poweroff="-p"
- if [ "$INIT_HALT" = "HALT" ]
- then
- poweroff=""
- fi
- #green led off
- /bin/fp_control -l 1 0
- #red led on
- #/bin/fp_control -l 0 1
- #red led off
- bin/fp_control -1 1 0
- /bin/fp_control -c
- /bin/fp_control -s `date +"%H:%M:%S %d-%m-%Y"`
- /bin/fp_control -e
- echo "0" > /proc/progress
- halt -d -f -i $poweroff $hddown
- : exit 0
übrigens Mediaportal läuft einwandfrei mann muss die ipk oder die Dateien der python compression installieren oder einführen.
Anschließend noch via Softwareverwaltung das bz2 Modul nachladen. Ist so auf dem Feed drauf.
Vielleicht könnt man die ab der aktuellen Version von Pixbox das Thema neu einstellen.
Grüße