/[gentoo-x86]/net-misc/lldpd/files/lldpd-initd-1
Gentoo

Contents of /net-misc/lldpd/files/lldpd-initd-1

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Oct 13 18:06:06 2014 UTC (5 years, 5 months ago) by chutzpah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump, make sure to pass LLDPD_OPTS to the command line (bug #525190). Remove old.

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)

1 chutzpah 1.1 #!/sbin/runscript
2     # Copyright 1999-2012 Gentoo Foundation
3     # Distributed under the terms of the GNU General Public License v2
4 chutzpah 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/files/lldpd-initd-1,v 1.1 2012/02/09 23:34:41 chutzpah Exp $
5 chutzpah 1.1
6     depend() {
7     use net
8     }
9     start() {
10     ebegin "Starting lldpd"
11     start-stop-daemon --start --exec /usr/sbin/lldpd \
12     --pidfile /var/run/lldpd.pid \
13     -- ${LLDPD_OPTS}
14     eend $?
15     }
16    
17     stop() {
18     ebegin "Stopping lldpd"
19     start-stop-daemon --stop --exec /usr/sbin/lldpd \
20     --pidfile /var/run/lldpd.pid
21     eend $?
22     }

  ViewVC Help
Powered by ViewVC 1.1.20