Date: Sun, 8 Aug 1999 08:43:15 -0400 (EDT) From: "Brian F. Feldman" <green@FreeBSD.org> To: hackers@FreeBSD.org Subject: rc addition proposal: mixer Message-ID: <Pine.BSF.4.10.9908080830410.38017-100000@janus.syracuse.net>
next in thread | raw e-mail | index | archive | help
I envision something like the following being available in /etc/rc, since there are many people who set mixer default values at startup in some random way. It would be nice to provide an easy way to do this. I'd like to get a vote on whether this should be added or not. I'd do something like the following: if [ -n "$mixer_device" ]; do mixer="mixer -f $mixer_device" else mixer="mixer" done for cf in `$mixer | cut -d' ' -f2` recsrc; do if eval [ -n "mixer_$cf" ]; then eval \$mixer \$cf \$mixer_$cf fi done Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908080830410.38017-100000>