aboutsummaryrefslogtreecommitdiff
path: root/target/device/Atmel/atstk1005/target_skeleton/etc/init.d/K20alsa-utils
blob: 68f7462342eac1e6966d066c3a2d3794af710d78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

PROGRAM=/usr/sbin/alsactl

# Exit silently if alsa-utils isn't installed
[ -x ${PROGRAM} ] || exit 0

echo -n "Saving mixer state: "
if ${PROGRAM} store; then
	echo "done"
else
	echo "failed"
	exit 1
fi