Hi,
any reason why
[ -f /etc/rc.local ] && . /etc/rc.local
is not called between
echo -n 'starting local daemons:'
and
echo '.'
in /etc/rc?
Suppose I want to init rsync at startup. As I don't have any /etc/rc.d/
script, and I follow 'Starting up local daemons and configuration' in
10.3 section of the FAQ, I end up with this at startup:
rsyncstarting local daemons: cron.
Applying this patch, I end up with:
starting local daemons: cron rsync.
Thoughts?
Thank you.
Index: rc
===================================================================
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.399
diff -u -r1.399 rc
--- rc 10 Mar 2012 10:37:13 -0000 1.399
+++ rc 15 Mar 2012 12:22:50 -0000
@@ -529,13 +529,12 @@
echo '.'
fi
-[ -f /etc/rc.local ] && . /etc/rc.local
-
ifconfig -g carp -carpdemote 128 # disable carp interlock
mixerctl_conf
echo -n 'starting local daemons:'
start_daemon apmd sensorsd hotplugd watchdogd cron wsmoused xdm
+[ -f /etc/rc.local ] && . /etc/rc.local
echo '.'
date
--
Daniel Bolgheroni <[email protected]>
http://devio.us/~dbolgheroni
ASCII ribbon campaign ( )
against HTML e-mail X
/ \
(and no top-post also, please)