]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r216744 for rc.d/devd:
authordougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 29 Apr 2011 20:31:52 +0000 (20:31 +0000)
committerdougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 29 Apr 2011 20:31:52 +0000 (20:31 +0000)
commitf5630b39eeb755c2ee97e1566b44a0af1cbfb130
tree58c40a90ad9629889f803b369813c3988d084915
parent4598b1d435079d5c9b6555ad9e7955fec99931be
MFC r216744 for rc.d/devd:

Add pidfile [1]

While I'm here, don't run the sysctl frob unconditionally, and
s/sysctl/$SYSCTL/

MFC r220962:

Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds
like, determines the path to a pid file as it is specified in a conf file.

Use the new feature for rc.d/named and rc.d/devd, the 2 services in the
base that list their pid files in their conf files.

Remove the now-obsolete named_pidfile, and warn users if they have it set.

MFC r220963:

Improve the error handling for the new get_pidfile_from_conf()

git-svn-id: svn://svn.freebsd.org/base/stable/8@221221 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/defaults/rc.conf
etc/rc.d/devd
etc/rc.d/named
etc/rc.subr