Restarting rc.conf
Ruben de Groot
mail25 at bzerk.org
Fri Nov 26 06:58:29 PST 2004
On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed:
> This does not work if a service has been changed from YES to NO (or has
> been removed from rc.conf). Therefore I think this is better:
>
> foreach dir in /etc/rc.d /usr/local/etc/rc.d
> do
> cd $dir
> foreach file in *
> do
> $file forcestop
> $file start
> done
> done
Have you actually tested this? I think not. (Hint: look at the scripts that
are in /etc/rc.d and what they actually do. Then RTM rcorder(8).)
More information about the freebsd-questions
mailing list