Date: Thu, 11 Oct 2001 18:48:48 -0500 From: Mike Meyer <mwm@mired.org> To: clefevre@citeweb.net Cc: Mike Meyer <mwm@mired.org>, hackers@freebsd.org, chuckr@freebsd.org, chris@freebsd.org Subject: Re: My contributions to the close a PR campaign Message-ID: <15302.12256.96805.125719@guru.mired.org> In-Reply-To: <200110112245.f9BMjAS66764@gits.dyndns.org> References: <15301.63455.964624.626361@guru.mired.org> <200110112245.f9BMjAS66764@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Cyrille Lefevre <clefevre@citeweb.net> types:
> Mike Meyer wrote:
> [snip]
> > conf/21722 The mixer settings are lost on system reboot.
> >
> > This should probably be closed due to the work being done on the
> > NetBSD rc system. The same functionality can be provided as a port,
> > which is probably better anyway. I'll do that if this one gets closed.
>
> much better is to keep it, at least to remember that something like
> that have to be done.
I'm not convinced it needs to be done. It's not really a critical
feature, and very few people seem to miss it. It makes a lot more
sense as a port that the few people who miss it can install. I've
already got the script; I just want to make sure I don't do the work
of turning it into a port only to have this thing committed.
The script is so trivial I use it as an example of how to do rc.d
scripts on -questions.
<mike
#!/bin/sh
MIXERSTATE=/var/db/mixer-state
case $1 in
start)
[ -r $MIXERSTATE ] && /usr/sbin/mixer `cat $MIXERSTATE` > /dev/null
;;
stop)
/usr/sbin/mixer -s > $MIXERSTATE
;;
*)
echo "usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
--
Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/
Q: How do you make the gods laugh? A: Tell them your plans.
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?15302.12256.96805.125719>
