openwrtv3/package/network
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
2015-11-03 11:59:09 +00:00
..
config cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
ipv6 6in4: add tunlink option support 2015-10-15 08:56:59 +00:00
services lldpd: implement a reload hook 2015-11-03 11:59:09 +00:00
utils iproute2: always use -DHAVE_SETNS, since the old uclibc is gone now 2015-11-02 18:12:23 +00:00