View Single Post
  #7   (View Single Post)  
Old 7th January 2013
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

There may be some confusion about the separation of start up tasks in rc.conf.local. In OpenBSD 5.0 rc_scripts was renamed pkg_scripts
Quote:
rc.conf 'rc_scripts' variable renamed to 'pkg_scripts': This change was introduced to make it clear that pkg_scripts should only be used to store packages(7) rc.d(8) scripts names.
At that time nginx was a separate package but it has now been added to the base.

Start up scripts for base packages are listed in /etc/rc.conf. I think the intent is to put start up scripts from added packages in pkg_scripts.

For example, my rc.conf.local
Code:
ntpd_flags="-s"         # enabled during install
xdm_flags=              # enabled during install
lpd_flags=""            # Start print daemon
apmd_flags="-C"         # AMD CPU power management
pkg_scripts="dbus_daemon avahi_daemon mpd"
ntpd, xdm, lpd and apmd are core applications listed in /etc/rc.conf.
I additionally installed dbus, avahi and mpd and on my system these are listed in /etc/rc.d/
Reply With Quote