speech: handle Headphone output too
...and generalize/de-noise the script a bit.
This commit is contained in:
parent
e469a19e2a
commit
326142c8f6
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user