#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ start() { ebegin "Enabling \"Disconnect on STPGNT\" bit in Chipset" TMPFILE=`mktemp` || exit 1 /sbin/athcool on &> $TMPFILE logger -t athcool -f $TMPFILE rm -f $TMPFILE eend $? } stop() { ebegin "Disabling \"Disconnect on STPGNT\" bit in Chipset" TMPFILE=`mktemp` || exit 1 /sbin/athcool off &> $TMPFILE logger -t athcool -f $TMPFILE rm -f $TMPFILE eend $? } status() { /sbin/athcool stat }