Hello misc@,

I was wondering why rc.local is called before the standard daemons and not 
after?

Especially when using hotplugd it would be nice to already have it started 
before calling rc.local. That way some devices can already get attached and can 
be used from rc.local.

Currently one has to also add hotplugd to rc.local to be able to do that but 
imho it would be cleaner the other way around.

Aside from that, it would actually make sense...
pre-securelevel -> network -> standard -> local

What do you think?


Index: rc
===================================================================
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.312
diff -u -r1.312 rc
--- rc  27 Feb 2008 20:27:38 -0000      1.312
+++ rc  29 Jun 2008 10:34:31 -0000
@@ -738,8 +738,6 @@
       # Remember to enable hpropd in inetd.conf
fi

-[ -f /etc/rc.local ] && . /etc/rc.local
-
echo -n standard daemons:

if [ X"${apmd_flags}" != X"NO" -a -x /usr/sbin/apmd ]; then
@@ -764,6 +762,8 @@
ifconfig -g carp -carpdemote 128

echo '.'
+
+[ -f /etc/rc.local ] && . /etc/rc.local

date

Reply via email to