You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Fietkau 322de4101a lldpd: implement a reload hook
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>

SVN-Revision: 47367
9 years ago
..
files lldpd: implement a reload hook 9 years ago
patches lldpd: update to v0.7.15 and add support for parsing /etc/openwrt_release 9 years ago
Config.in lldpd: add option to disable custom TLVs 9 years ago
Makefile lldpd: add option to disable custom TLVs 9 years ago