Subject: Re: Problem with turning of some daemons.....
To: Frank van der Linden <frank@wins.uva.nl>
From: Simon Burge <simonb@netbsd.org>
List: netbsd-users
Date: 09/15/1999 10:42:06
Frank van der Linden wrote:
> It's not actually starting anything, but it's giving the message anyway.
> The format of the message is normally
>
> "starting nfs daemons <daemon1> <daemon2> <daemonN> ."
>
> But since no daemons are started now, you see just the "."
> This is indeed a bit confusing, perhaps it should say something like
> "no daemons started" if norhing happened.
I'm wondering if something like:
if checkforyes nfs_server nfs_client nfs_locking amd; then
echo -n 'starting nfs daemons:'
fi
...
where 'checkforyes' looks for any "yes"s in it's arg list might make
things prettier? Then we'd need to worry about maintaining that list if
something changed...
Simon.