speech: handle Headphone output too

...and generalize/de-noise the script a bit.
This commit is contained in:
Michael Shigorin 2013-11-22 21:41:33 +04:00
parent e469a19e2a
commit 326142c8f6

View File

@ -3,10 +3,10 @@
cat <<EOF > /etc/rc.d/rc.local cat <<EOF > /etc/rc.d/rc.local
#!/bin/sh #!/bin/sh
amixer set Master 75% for i in Master PCM Headphone; do
amixer set Master toggle amixer set $i 75%
amixer set PCM 75% amixer set $i toggle
amixer set PCM toggle done >&/dev/null
EOF EOF