Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37716872
en ru br
ALT Linux repositórios
S:1.04-alt3
5.0: 1.04-alt2
4.1: 1.04-alt2
4.0: 1.04-alt2
3.0: 1.04-alt2

Group :: Sistema/Configurações/Hadware
RPM: fvcool

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#!/bin/sh

# chkconfig: 2345 88 06
# description: This script enables Athlon CPU cooling feature. see /usr/share/doc/fvcool-*/ReadMe
#

# Source function library.
. /etc/rc.d/init.d/functions

RETVAL=0
SERVICENAME="AMD Athlon/Duron cooling"
FVCOOL=/usr/sbin/fvcool

TryFVcool ()
{
if $FVCOOL $1
then
RETVAL=$?
success $1
else
RETVAL=$?
failure $1
fi
return $RETVAL
}


# See how we were called.
case "$1" in
condrestart)
;;
start)
echo "Enabling $SERVICENAME: "
TryFVcool -e
RETVAL=$?
;;
stop|condstop)
echo "Disabling $SERVICENAME: "
TryFVcool -d
RETVAL=$?
;;
status)
$FVCOOL -v
RETVAL=$?
;;
restart)
"$0" stop; "$0" start
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
exit 1
esac

exit $RETVAL

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009