debianmacno-cupsnodebathenaweb
Last change
on this file since 28836c2 was
28836c2,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
Improve configuration and fine-tune zephyrs
|
-
Property mode set to
100755
|
File size:
440 bytes
|
Rev | Line | |
---|
[83733c9] | 1 | #!/bin/sh |
---|
[737d88b] | 2 | PATH="$(dirname $0):$PATH" |
---|
[b1d66d4] | 3 | class=$(sipbmp3-get-config zephyr-class) |
---|
| 4 | host=$(sipbmp3-get-config host) |
---|
| 5 | queue=$(sipbmp3-get-config queue) |
---|
| 6 | instance="$queue-volume@$host" |
---|
| 7 | |
---|
[28836c2] | 8 | mixer=$(sipbmp3-get-config mixer) |
---|
| 9 | channel="$(sipbmp3-get-config channel)" |
---|
[5dd3058] | 10 | |
---|
[28836c2] | 11 | amixer set $mixer "$2" | grep "$channel" \ |
---|
| 12 | | perl -lne 'print $1 if (/: Playback ([0-9]+)/)' |
---|
[5dd3058] | 13 | |
---|
[28836c2] | 14 | zwrite -c $class -i $instance -d -n -m "$REMOTE_USER set volume to $(volume-get)" > /dev/null |
---|
Note: See
TracBrowser
for help on using the repository browser.