Author: nbd
Date: 2015-12-05 10:57:19 +0100 (Sat, 05 Dec 2015)
New Revision: 47786

Modified:
   trunk/package/network/services/lldpd/files/lldpd.init
Log:
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 <[email protected]>

Modified: trunk/package/network/services/lldpd/files/lldpd.init
===================================================================
--- trunk/package/network/services/lldpd/files/lldpd.init       2015-12-05 
09:52:42 UTC (rev 47785)
+++ trunk/package/network/services/lldpd/files/lldpd.init       2015-12-05 
09:57:19 UTC (rev 47786)
@@ -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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to