summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/alsa-utils/alsa
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:48:09 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:48:09 (GMT)
commit58b87a0db58f04f38fc52935f2a15ceaa5ee3126 (patch)
tree83e671a3a3e5c1e09e59167d077ea18061ceedf3 /abs/core-testing/alsa-utils/alsa
parent4a7c61614f42f3cd759e1ad4fe78ce4b690216a8 (diff)
downloadlinhes_pkgbuild-58b87a0db58f04f38fc52935f2a15ceaa5ee3126.zip
linhes_pkgbuild-58b87a0db58f04f38fc52935f2a15ceaa5ee3126.tar.gz
linhes_pkgbuild-58b87a0db58f04f38fc52935f2a15ceaa5ee3126.tar.bz2
alsa-utils:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/alsa-utils/alsa')
-rwxr-xr-xabs/core-testing/alsa-utils/alsa4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/alsa-utils/alsa b/abs/core-testing/alsa-utils/alsa
index e1d6f28..08f76af 100755
--- a/abs/core-testing/alsa-utils/alsa
+++ b/abs/core-testing/alsa-utils/alsa
@@ -19,13 +19,13 @@ case "$1" in
if [ -e /sys/module/snd_ac97_codec/parameters/power_save \
-a $POWERSAVE -ne 0 ]; then
echo $POWERSAVE > /sys/module/snd_ac97_codec/parameters/power_save
- echo 1 > /dev/dsp
+ [ -c /dev/dsp ] && echo 1 > /dev/dsp
fi
if [ -e /sys/module/snd_hda_intel/parameters/power_save \
-a $POWERSAVE -ne 0 ]; then
echo $POWERSAVE > /sys/module/snd_hda_intel/parameters/power_save
- echo 1 > /dev/dsp
+ [ -c /dev/dsp ] && echo 1 > /dev/dsp
fi
;;
stop)