#! /bin/sh
#
# Dieses Skript wird von jedem auf eigene Gefahr beutzt. Für evtl. entstandene Schäden
# ist der Author dieses Skripts nicht verantwortlich zu machen.
# Vor Gebrauch bitte diese Seite lesen:
http://cip.uni-trier.de/nofftz/linux...ing-HOWTO.html
#
# The user of this script is responsible for eventual damages to the hardware resulting
# of executing this script.
# For proper use please visit:
http://cip.uni-trier.de/nofftz/linux...ing-HOWTO.html
#
# Athlon Powersaving Skript
# written by P. Spreitzer on 28.04.2003
# for SuSE Linux 8.2
#
# carniatgmxdotde
#
# for Details visit:
http://cip.uni-trier.de/nofftz/linux...ing-HOWTO.html
#
# Entsprechende Zeilen bitte auskommentieren.
#
# Please uncomment the lines matching your chipset.
#
#
# /etc/init.d/cpucool
#
# System startup script for Athlon Powersaving
#
### BEGIN INIT INFO
# Provides: Athlon Powersaving
# Required-Start: $remote_fs
# Required-Stop:
# Default-Start: 1 2 3 5
# Default-Stop:
# Description: Enable Athlon Powersaving
### END INIT INFO
test -s /etc/rc.config && \
. /etc/rc.config
test -s /etc/rc.status && \
. /etc/rc.status
rc_reset
case "$1" in
start)
echo -n "Enabling idle Mode for Athlon "
## on KT266/266a:
/sbin/setpci -H1 -s 0:0.0 92=EB > /dev/null 2> /dev/null
rc_status -v
;;
stop)
echo -n "Disabling idle Mode for Athlon "
## on KT266/266a:
/sbin/setpci -H1 -s 0:0.0 92=6Bi > /dev/null 2> /dev/null
#
rc_status -v
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
rc_exit
Lesezeichen