From: Michael Tremer Date: Thu, 13 Aug 2009 18:40:51 +0000 (+0200) Subject: Add initscript for openlldp. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11e04aa70ff0c592994f936f3387e2796178295;p=ipfire-3.x.git Add initscript for openlldp. --- diff --git a/lfs/openlldp b/lfs/openlldp index 071a90bb9..c93df8bb7 100644 --- a/lfs/openlldp +++ b/lfs/openlldp @@ -85,5 +85,8 @@ $(OBJECT): $(objects) --prefix=/usr cd $(DIR_APP) && make $(PARALLELISMFLAGS) cd $(DIR_APP) && make install + + $(INSTALL_INITSCRIPT) + @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/src/initscripts/extras/openlldp.conf b/src/initscripts/extras/openlldp.conf new file mode 100755 index 000000000..3e3114f2f --- /dev/null +++ b/src/initscripts/extras/openlldp.conf @@ -0,0 +1,8 @@ +description "Starts the OpenLLDP Daemon" +author "IPFire Team" + +start on started network +stop on stopping network + +exec /usr/sbin/lldpd +respawn