From patchwork Mon Aug 17 15:22:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Ardelean X-Patchwork-Id: 507999 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id DE4C814012C for ; Tue, 18 Aug 2015 01:23:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=nOZFTmL+; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id B723A28C178; Mon, 17 Aug 2015 17:22:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id AAC8828C176 for ; Mon, 17 Aug 2015 17:22:06 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 17 Aug 2015 17:22:06 +0200 (CEST) Received: by wicne3 with SMTP id ne3so77922651wic.1 for ; Mon, 17 Aug 2015 08:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=WyMgSL0qPwIcia8I9nd3ndFoPP/Tgsshh4Sai7+S1KQ=; b=nOZFTmL+EcWqpDPIETz74CimWJ17zh38PD9pjaBZpEwYQseqoIVNP5ZmdFHuJaKcO0 lQWzv12XezABgA7iM8v0CvoeKXznAP/WM0jHwXicFSbCjMpmxv6KnBjcB+AwKEHNoTLr Zp/7JYzR+EaV5x+sn/0InCKTqD4+4nbDSLVqXFRFe7m6Byg0QzMjD7Kxf+a7xZQrRZ6p qi9p2ATd3yiS/yInRLTmZo7J12d8MMVpAzMllw3QnTVOCF9V9GRUuaqERnFRxiLUi3Bm 3/YjkFd8b0pPdEVqm3LTkFFYyoLBR7qwpOTf/9cuMIDYReyIwVKEaDplIJzq/1+oR8xi IH4w== X-Received: by 10.180.38.101 with SMTP id f5mr27224403wik.9.1439824972560; Mon, 17 Aug 2015 08:22:52 -0700 (PDT) Received: from orion.ocedo.cluj.local ([5.2.198.78]) by smtp.gmail.com with ESMTPSA id lj2sm16966223wic.1.2015.08.17.08.22.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Aug 2015 08:22:52 -0700 (PDT) From: Alexandru Ardelean X-Google-Original-From: Alexandru Ardelean To: openwrt-devel@lists.openwrt.org Date: Mon, 17 Aug 2015 18:22:39 +0300 Message-Id: <1439824962-5559-1-git-send-email-aa@ocedo.com> X-Mailer: git-send-email 2.1.4 Cc: Alexandru Ardelean Subject: [OpenWrt-Devel] [PATCH 1/4] lldpd: remove obsolete/unsupported lldpctl call X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" This call is no longer supported. Maybe a come-back for it would be to use a config /etc/lldpd.conf or /etc/lldpd.d/.conf Signed-off-by: Alexandru Ardelean --- package/network/services/lldpd/files/lldpd.init | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 40f2611..4b49cbd 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services/lldpd/files/lldpd.init @@ -60,11 +60,6 @@ start() { service_start /usr/sbin/lldpd $args \ ${lldp_class:+ -M $lldp_class} \ ${lldp_description:+ -S "$lldp_description"} - - [ -n "$lldp_location" ] && { - sleep 1 - /usr/sbin/lldpctl -L "$lldp_location" > /dev/null 2>&1 - } } stop() {