]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Add initscript for openlldp.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Aug 2009 18:40:51 +0000 (20:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Aug 2009 18:40:51 +0000 (20:40 +0200)
lfs/openlldp
src/initscripts/extras/openlldp.conf [new file with mode: 0755]

index 071a90bb9fd1bf27cd306e02937e026f66a74f56..c93df8bb72d6562a6f099b5891a14a5e6115078c 100644 (file)
@@ -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 (executable)
index 0000000..3e3114f
--- /dev/null
@@ -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