aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mpc/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-03 11:59:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-03 11:59:09 +0000
commitb1225f12e02ece8451faf13f7d665400eb9d4dc1 (patch)
tree69d7482c149319ec852885ad23eb319d62f08a10 /tools/mpc/Makefile
parentb0f20ce986ea8686541952ff2134277aa8fa0927 (diff)
downloadmaster-187ad058-b1225f12e02ece8451faf13f7d665400eb9d4dc1.tar.gz
master-187ad058-b1225f12e02ece8451faf13f7d665400eb9d4dc1.tar.bz2
master-187ad058-b1225f12e02ece8451faf13f7d665400eb9d4dc1.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47367 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mpc/Makefile')
0 files changed, 0 insertions, 0 deletions