Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d - at least require mountcritremote (mixerctl is in ...
details: https://anonhg.NetBSD.org/src/rev/758702c06ba4
branches: trunk
changeset: 532643:758702c06ba4
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Jun 11 16:31:41 2002 +0000
description:
- at least require mountcritremote (mixerctl is in /usr)
- read from < mixerctl.conf instead of piping output of cat...
diffstat:
etc/rc.d/mixerctl | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r 8d0a17e32a21 -r 758702c06ba4 etc/rc.d/mixerctl
--- a/etc/rc.d/mixerctl Tue Jun 11 16:25:11 2002 +0000
+++ b/etc/rc.d/mixerctl Tue Jun 11 16:31:41 2002 +0000
@@ -1,9 +1,10 @@
#!/bin/sh
#
-# $NetBSD: mixerctl,v 1.2 2002/06/02 19:04:10 jmcneill Exp $
+# $NetBSD: mixerctl,v 1.3 2002/06/11 16:31:41 lukem Exp $
#
# PROVIDE: mixerctl
+# REQUIRE: mountcritremote
. /etc/rc.subr
@@ -15,11 +16,9 @@
{
if [ -r /etc/mixerctl.conf ]; then
echo "Setting mixerctl variables..."
- cat /etc/mixerctl.conf | (
- while read setting; do
- mixerctl -n -w $setting
- done
- )
+ while read setting; do
+ mixerctl -n -w $setting
+ done < /etc/mixerctl.conf
fi
}
Home |
Main Index |
Thread Index |
Old Index