projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1b121
)
lldpd: add STOP=01 param in init script
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Dec 2015 09:57:19 +0000
(09:57 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Dec 2015 09:57:19 +0000
(09:57 +0000)
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>
SVN-Revision: 47786
package/network/services/lldpd/files/lldpd.init
patch
|
blob
|
history
diff --git
a/package/network/services/lldpd/files/lldpd.init
b/package/network/services/lldpd/files/lldpd.init
index 04e5b8ca637c694694d565a074387b9ee8f96dcf..696518902f421c8e9a3dd8971035cd05f69d20ff 100644
(file)
--- 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-201
2
OpenWrt.org
+# Copyright (C) 2008-201
5
OpenWrt.org
START=90
+STOP=01
USE_PROCD=1
LLDPCLI=/usr/sbin/lldpcli