aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd/files
Commit message (Collapse)AuthorAgeFilesLines
* lldpd: implement a reload hookFelix Fietkau2015-11-031-1/+18
| | | | | | | | | | | | | | | | | | | Seems the default one is not working as expected. The way that reload should work is that the 'start' service call should return 1 (if lldpd is running) and then a normal restart would be called. However, for lldpd a reload would mean just clearing all custom TLVs (if they're configured) and reloading the configuration. So, this patch adds a reload hook, which would: - 'start' lldpd if it's not running (because we return 1 if not running) - reload configuration if it is running (also previously clearing custom TLVs if present) Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: wrap procd command args in separate quotesJohn Crispin2015-10-051-3/+3
| | | | | | | | | | | | Seems the match pattern was being adapted from 'eth0' to ' eth0' because of the way I added the procd command args. This did not seem to be a problem when there were multiple interfaces, just on devices with single interfaces for lldpd to listen on. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add extra respawn paramsJohn Crispin2015-09-161-0/+3
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: conversion of init script to procd formatJohn Crispin2015-09-161-13/+18
| | | | | | | | And add respawn param (the main reason for this conversion). Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: move /var/run creation + chmod earlierJohn Crispin2015-09-161-3/+3
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: remove obsolete/unsupported lldpctl callJohn Crispin2015-09-161-5/+0
| | | | | | | | | | This call is no longer supported. Maybe a come-back for it would be to use a config /etc/lldpd.conf or /etc/lldpd.d/<some-file>.conf Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add support for 'readonly_mode'John Crispin2015-03-121-0/+3
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: fix passing multiple ifnames to the daemonJo-Philipp Wich2015-03-011-2/+3
| | | | | | | | Instead of multiple -I arguments, lldpd expects a comma separated list. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldp: remove calls to user/group_add/existsJohn Crispin2014-09-111-3/+0
| | | | | | | | use the new ipkg based mechanism Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: various enhancementsJo-Philipp Wich2013-01-022-1/+33
| | | | | | | | - introduce "list interface" options to specify the ifaces to listen on, takes uci- or network device name - set the default system description to distrib @ hostname, e.g. "OpenWrt Barrier Breaker r34744 @ vbox" - introduce "option lldp_description" to override the automatically generated description git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: fix minor whitespace quirk in init scriptJo-Philipp Wich2012-10-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: bump to v0.6.1, enable privilege separation and chrootingJo-Philipp Wich2012-10-121-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33729 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: move to trunk and add myself as maintainerJo-Philipp Wich2012-10-102-0/+48
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33700 3c298f89-4303-0410-b956-a3cf2f4a3e73