Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
vapier 11/03/05 10:43:29
Modified: radvd.init
Log:
Make sure the pidfile dir exists with right perms.
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Revision Changes Path
1.4 net-misc/radvd/files/radvd.init
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/files/radvd.init?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/files/radvd.init?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/radvd/files/radvd.init?r1=1.3&r2=1.4
Index: radvd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- radvd.init 19 Nov 2008 00:00:24 -0000 1.3
+++ radvd.init 5 Mar 2011 10:43:29 -0000 1.4
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v 1.3 2008/11/19 00:00:24 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v 1.4 2011/03/05 10:43:29 vapier Exp $
CONFIGFILE=/etc/radvd.conf
PIDFILE=/var/run/radvd/radvd.pid
@@ -9,7 +9,7 @@
opts="reload"
-depend () {
+depend() {
need net
}
@@ -18,9 +18,11 @@
eerror "Configuration file ${CONFIGFILE} not found"
return 1
fi
+
+ checkpath -d -o radvd:radvd ${PIDFILE%/*}
}
-start () {
+start() {
checkconfig || return 1
if [ "${FORWARD}" != "no" ]; then
|
|