kumquat-buildroot/target/device/Atmel/atstk100x/target_skeleton/etc/init.d/K20alsa-utils

15 lines
214 B
Plaintext
Raw Normal View History

2007-07-29 09:15:35 +02:00
#!/bin/sh
PROGRAM=/usr/sbin/alsactl
# Exit silently if alsa-utils isn't installed
[ -x ${PROGRAM} ] || exit 0
2007-08-17 15:02:52 +02:00
echo -n "Saving mixer state: "
if ${PROGRAM} store; then
echo "done"
2007-07-29 09:15:35 +02:00
else
2007-08-17 15:02:52 +02:00
echo "failed"
2007-07-29 09:15:35 +02:00
exit 1
fi