Browse Source

Add support for setting mixerctl values in a sysctl.conf like manner

via mixerctl.conf.
ok deraadt@, earlier version ok henning@
OPENBSD_3_7
jsg 20 years ago
parent
commit
0b2c77b5b6
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      src/etc/rc

+ 12
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.259 2004/11/03 18:04:46 henning Exp $
# $OpenBSD: rc,v 1.260 2004/11/22 09:26:23 jsg Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -171,6 +171,17 @@ if [ -f /etc/sysctl.conf ]; then
)
fi
if [ -f /etc/mixerctl.conf ]; then
(
# delete comments and blank lines
set -- `stripcom /etc/mixerctl.conf`
while [ $# -ge 1 ] ; do
mixerctl -q $1 > /dev/null 2>&1
shift
done
)
fi
# set hostname, turn on network
echo 'starting network'
. /etc/netstart


Loading…
Cancel
Save