aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
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
commit322de4101abb40d29a3496f694fcf6619c7b7e34 (patch)
tree0704df9a127be468bef3627268df086469c23917 /.gitignore
parent13450732682a6c6914d9d8a9eecda40510da1598 (diff)
downloadupstream-322de4101abb40d29a3496f694fcf6619c7b7e34.tar.gz
upstream-322de4101abb40d29a3496f694fcf6619c7b7e34.tar.bz2
upstream-322de4101abb40d29a3496f694fcf6619c7b7e34.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> SVN-Revision: 47367
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions