aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-05 09:57:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-05 09:57:19 +0000
commit206aff50afd60124bc3115f5cce32318efb69fd7 (patch)
tree0c079e19f5c66d1c512e579777cfa68438234e3a /package/network/services
parent55838c121977504daadba9fa2681e710537bb7b1 (diff)
downloadmaster-187ad058-206aff50afd60124bc3115f5cce32318efb69fd7.tar.gz
master-187ad058-206aff50afd60124bc3115f5cce32318efb69fd7.tar.bz2
master-187ad058-206aff50afd60124bc3115f5cce32318efb69fd7.zip
lldpd: add STOP=01 param in init script
This should ensure that lldpd is among the first processes to stop, so that it has time to send the shutdown LLDPU to the other side, before the network goes down. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47786 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/lldpd/files/lldpd.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index 04e5b8ca63..696518902f 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -1,7 +1,8 @@
#!/bin/sh /etc/rc.common
-# Copyright (C) 2008-2012 OpenWrt.org
+# Copyright (C) 2008-2015 OpenWrt.org
START=90
+STOP=01
USE_PROCD=1
LLDPCLI=/usr/sbin/lldpcli