- Executable file rootfs-template/usr/bin/alsamixer.sh — part of check-in [e82af90148] at 2013-09-22 14:42:22 on branch trunk — initial drop - post alpha2 but pre-alpha3 (user: james
Artifact 12490caf012370ef71e26f321f4e0763a5540447:
#!/bin/sh # For multiple sound cards. PARAMS="$@" if [ "$PARAMS" != "" ] ; then alsamixer $PARAMS exit fi if [ -e /etc/asound.conf ] ; then CARD="$(cat /etc/asound.conf | grep 'ctl.!default' | sed 's/.*card \(.\).*/\1/')" if [ "$CARD" != "" ]; then alsamixer -c $CARD exit fi fi alsamixer