debianmacno-cupsweb
Last change
on this file since b531ddb was
b531ddb,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
Use unauthenticated zephyrs
|
-
Property mode set to
100755
|
File size:
387 bytes
|
Rev | Line | |
---|
[5c45626] | 1 | #!/bin/sh |
---|
[6bb3ffb] | 2 | PATH="$(dirname $0):$PATH" |
---|
[70b38df] | 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 | |
---|
[2249bb2] | 8 | channel=$(sipbmp3-get-config channel) |
---|
| 9 | |
---|
| 10 | amixer set $channel "$2" \ |
---|
[5c45626] | 11 | | perl -lne 'print $1 if (/Front Left: Playback ([0-9]+)/)' |
---|
[2249bb2] | 12 | |
---|
[b531ddb] | 13 | zwrite -c $class -i $instance -d -n -m "Setting volume to $(volume-get) on $queue" |
---|
Note: See
TracBrowser
for help on using the repository browser.