source: gutenbach-remctl/volume-get @ 53936a5

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

Created a package around the remctl scripts to make
installation easy. Package installs and runs cleanly
on lbsg, but has not been tested on zsr yet.

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