Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Don't use depricated "-f" option to mixerctl(1). Pa...



details:   https://anonhg.NetBSD.org/src/rev/6edfccf1b83f
branches:  trunk
changeset: 550708:6edfccf1b83f
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Aug 18 13:04:10 2003 +0000

description:
Don't use depricated "-f" option to mixerctl(1). Patch supplied by
Bruce J.A. Nourish in PR misc/22524.

diffstat:

 etc/rc.d/mixerctl |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r fa755d6cc04d -r 6edfccf1b83f etc/rc.d/mixerctl
--- a/etc/rc.d/mixerctl Mon Aug 18 09:16:22 2003 +0000
+++ b/etc/rc.d/mixerctl Mon Aug 18 13:04:10 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mixerctl,v 1.5 2002/10/12 11:29:29 kent Exp $
+# $NetBSD: mixerctl,v 1.6 2003/08/18 13:04:10 tron Exp $
 #
 
 # PROVIDE: mixerctl
@@ -20,7 +20,7 @@
                for mix in $mixerctl_mixers; do
                        if [ -s /var/db/${mix}.conf ]; then
                                echo -n " $mix"
-                               /usr/bin/mixerctl -f /dev/$mix -n -w \
+                               /usr/bin/mixerctl -d /dev/$mix -n -w \
                                        `/bin/cat /var/db/${mix}.conf`
                        fi
                done
@@ -40,7 +40,7 @@
                echo -n "Saving mixer settings:"
                for mix in $mixerctl_mixers; do
                        echo -n " $mix"
-                       /usr/bin/mixerctl -f /dev/$mix -a > /var/db/${mix}.conf
+                       /usr/bin/mixerctl -d /dev/$mix -a > /var/db/${mix}.conf
                done
                echo "."
        fi



Home | Main Index | Thread Index | Old Index