#!/bin/sh FLAG='/var/tmp/.mute4skype' test -f $FLAG && SEQ=`cat $FLAG` || SEQ=30 amixer set Capture $SEQ if [ "$SEQ" -eq 30 ]; then echo "1" > $FLAG else echo "30" > $FLAG fi