source: remctl/lib/gutenbach/volume-get @ 600e713

debianmacno-cupsweb
Last change on this file since 600e713 was 9c0279e, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Create Makefiles and fix install scripts.

  • Property mode set to 100755
File size: 242 bytes
Line 
1#!/bin/sh
2PATH="$(dirname $0):$PATH"
3
4mixer=$(/usr/lib/gutenbach/gutenbach-get-config mixer)
5channel=$(/usr/lib/gutenbach/gutenbach-get-config channel)
6
7amixer get $mixer | grep "$channel" \
8 | perl -lne 'print $1 if (/: Playback ([0-9]+)/)'
Note: See TracBrowser for help on using the repository browser.