svc

Simple service scripts and examples, to be used everywhere.
git clone git://r-36.net/svc
Log | Files | Refs | LICENSE

commit 71ca23891a9ba5d0c7d5382763bf83357c3d7ee7
parent eab8b0692604472d9cefb07620400c0023115ada
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 14 Mar 2014 16:32:36 +0100

alsa: fix powersave

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
svc.d/avail/alsa | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/svc.d/avail/alsa b/svc.d/avail/alsa @@ -11,9 +11,9 @@ case $1 in [ -e "$STATEFILE" ] || alsactl $PARAMS store alsactl $PARAMS restore - dfiles="/sys/modules/snd_ac97_codec/parameters/power_save - /sys/modules/snd_hda_intel/parameters/power_save" - for f in dfiles; + dfiles="/sys/module/snd_ac97_codec/parameters/power_save + /sys/module/snd_hda_intel/parameters/power_save" + for f in $dfiles; do if [ -e $f ]; then