On Fri, 5 Nov 2010, Giovanni Bechis wrote: > On 11/05/10 11:03, Antoine Jacoutot wrote: > > CVSROOT: /cvs > > Module name: src > > Changes by: ajacou...@cvs.openbsd.org 2010/11/05 04:03:00 > > > > Modified files: > > etc : rc.local > > > > Log message: > > Print the daemon name _before_ starting the corresponding rc script. > > > This way the daemon name is printed even if the daemon is not started > (because of en error in a config file, for example), IMHO the old > behaviour was better.
This behaviour is consistent with what /etc/rc does and much better imho. And if you have an error, you can actually see which daemon it is coming from. Otherwise you'll end up with something like: starting local daemons dbus_daemon Unable to read configuration file '/etc/cups/cupsd.conf' - exiting! cupsd: Child exited with status 1! You get a cups error after dbus is printed (it's just a stupid example). -- Antoine