Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
via_epia:longhaul [2008/04/22 15:15] – gerald | via_epia:longhaul [2024/06/07 11:49] (aktuell) – gerald | ||
---|---|---|---|
Zeile 60: | Zeile 60: | ||
script {hi/lo} | script {hi/lo} | ||
- | + | <code bash> | |
- | #!/bin/sh | + | #!/bin/bash |
# | # | ||
# sets the cpu-frequency low or high, | # sets the cpu-frequency low or high, | ||
# or (de)loads the longhaul-module | # or (de)loads the longhaul-module | ||
# FOR VIA EPIA ONLY | # FOR VIA EPIA ONLY | ||
- | # made by Gerald | + | # made by Gerald |
SYSPATH=/ | SYSPATH=/ | ||
Zeile 87: | Zeile 87: | ||
modprobe cpufreq_${POWERMODE} | modprobe cpufreq_${POWERMODE} | ||
echo ", cpufreq_${POWERMODE}" | echo ", cpufreq_${POWERMODE}" | ||
- | echo -n " | + | echo -n " |
echo " | echo " | ||
echo " | echo " | ||
Zeile 98: | Zeile 98: | ||
$0 status | $0 status | ||
;; | ;; | ||
- | | + | |
POWERMODE=performance | POWERMODE=performance | ||
echo -n " | echo -n " | ||
Zeile 141: | Zeile 141: | ||
echo -n "all available frequencies: | echo -n "all available frequencies: | ||
cat / | cat / | ||
+ | </ | ||