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

15 lines
214 B
Bash

#!/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