summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2014-07-08 23:17:39 +0000
committerPatrick McLean <chutzpah@gentoo.org>2014-07-08 23:17:39 +0000
commit66becafdf266fe28aa8634f2946179d24e65db90 (patch)
tree2943a907adefb0b7df91310c1bfd8057f5ca8e0e /net-misc/lldpd/files
parentAdd pic to new multilib packages on amd64 hardened (diff)
downloadgentoo-2-66becafdf266fe28aa8634f2946179d24e65db90.tar.gz
gentoo-2-66becafdf266fe28aa8634f2946179d24e65db90.tar.bz2
gentoo-2-66becafdf266fe28aa8634f2946179d24e65db90.zip
Another revision bump, this one to fix the init script so the rundir gets created properly.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
Diffstat (limited to 'net-misc/lldpd/files')
-rw-r--r--net-misc/lldpd/files/lldpd-initd-3 (renamed from net-misc/lldpd/files/lldpd-initd-2)8
1 files changed, 3 insertions, 5 deletions
diff --git a/net-misc/lldpd/files/lldpd-initd-2 b/net-misc/lldpd/files/lldpd-initd-3
index 9badb32105a3..a84df6971c35 100644
--- a/net-misc/lldpd/files/lldpd-initd-2
+++ b/net-misc/lldpd/files/lldpd-initd-3
@@ -1,21 +1,19 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/files/lldpd-initd-2,v 1.1 2014/07/07 22:08:36 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/files/lldpd-initd-3,v 1.1 2014/07/08 23:17:39 chutzpah Exp $
name=lldpd
pidfile=/run/lldpd.pid
command=/usr/sbin/lldpd
-required_dirs="/run/lldpd"
retry="TERM/10/KILL/5"
depend() {
use net
}
-stop_post() {
- # make sure to clean up any remaining lldpcli processes
- pkill lldpcli || true
+start_pre() {
+ checkpath --directory /run/lldpd
}
# vim:ft=gentoo-init-d:noet:ts=4:sts=4:sw=4: