#!/bin/sh # Allow the driver to put the audio hardware to sleep # once the driver has been inactive for a second. # This hook should work with at least the ac97 and hda codecs. INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true} help() { cat < "$dev/parameters/power_save" && echo Done. || echo Failed. done } case $1 in true) audio_powersave 1 ;; false) audio_powersave 0 ;; help) help;; *) exit $NA esac exit 0