#!/bin/sh

CURRENT=`amixer cget numid=32 | tail -1| cut -f2 -d=`

NEWVAL=0

if [ $CURRENT = "off" ]
then
  NEWVAL=1
fi

amixer cset numid=32 $NEWVAL
