Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: basesrc/etc/rc.conf.d



   In some email I received from Perry E. Metzger, sie wrote:
   > 
   > Well, of course -- the directory is created (empty) by mtree(8). There
   > wasn't any need for files to initialize it from because it was
   > supposed to be used only by the end user. (I think we're all in
   > complete agreement here except for Darren.)
   
   why would an end user want to create & use that file when they can
   just edit rc.conf ?


so that i can do this:

        # echo command=/usr/pkg/sbin/named > /etc/rc.conf.d/named

and then "/etc/rc.d/named start" will use the named in pkgsrc.
this feature has proven to be extremely useful.


i also know you've seen an example rc.conf.d/sshd that was
extremely clever.


so that a 3rd party package can install an rc.d script and a
configuration file for it, that is easy to remove.  this was
actually a requirement of rc.d.




.mrg.



Home | Main Index | Thread Index | Old Index