From b580ebb5a8e19401b984a36de187b74843a7612b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Dec 2015 09:57:19 +0000 Subject: 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 SVN-Revision: 47786 --- package/network/services/lldpd/files/lldpd.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/network/services/lldpd') 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 -- cgit v1.2.3