Hallo, Frederik Ferner wrote:
<----snip----> #!/bin/sh # disable DMA on hd # system wouldn't come back with DMA enabled if [ "$1" = suspend ]; then /bin/sync /bin/sleep 1 /bin/sync /sbin/hdparm -d0 /dev/hda elif [ "$1" = resume ]; then /sbin/hdparm -d1 /dev/hda fi <----snip---->
Warum sehe ich die Ausgaben von hinzugefügten echo's nicht ??? if [ "$1" = suspend ]; then /bin/echo "Hauptspeicher auf Festplatte speichern..." /bin/sync /bin/sleep 1 /bin/sync /bin/echo "Done." /bin/echo "Direct Memory Access ausschlaten..." /sbin/hdparm -d0 /dev/hda elif [ "$1" = resume ]; then /sbin/hdparm -d1 /dev/hda /bin/echo "Direct Memory Access eingaschaltet." fi -- Mit freundlichen Grüßen, Yevgen Reznichenko.