From patchwork Sun Oct 25 00:59:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Beno=C3=AEt_Th=C3=A9baudeau?= X-Patchwork-Id: 535520 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 50D8314131D for ; Sun, 25 Oct 2015 12:00:40 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=uSHYpRGe; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7861232A15; Sun, 25 Oct 2015 01:00:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pNwqT2vI0srT; Sun, 25 Oct 2015 01:00:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AEA8C31BC8; Sun, 25 Oct 2015 01:00:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 91D091C0BE0 for ; Sun, 25 Oct 2015 00:59:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8E3908ABDC for ; Sun, 25 Oct 2015 00:59:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DhcEwgnmekr9 for ; Sun, 25 Oct 2015 00:59:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8EF1B8AB94 for ; Sun, 25 Oct 2015 00:59:55 +0000 (UTC) Received: by wicfv8 with SMTP id fv8so73574328wic.0 for ; Sat, 24 Oct 2015 17:59:54 -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:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=/5p1vewHeruyPncqF/9rLeqUwMFIY08u6PPjWTTfAH4=; b=uSHYpRGeeOCUZLE7f5QNDczOAyE6e8uiG/e1TK32ghOFa8TSA14EW0s+WgGt9pEiw7 /w6quZ4Oa+g+1rrdXddDwy1edefb5EGjndpZG5YWMzF8c6tJ6OngkfW9LqzJa4ihuPiG vlee+lCMXiy80y2HMqHbd3wRAaKg+HszGjo5+WInAA+qihtcC+VqL9RRr/ywmWnRTKaB aehXwo0RDYb00Rna9ACqs9OocSoakit2C0hvf+O+6L7ETdZaHTAUWMKJkZ2V0iNusR5D SjqViLzAfixUVwe/FGVMfZwOqMYUlMwJF8LQPRqeH1LIc0nK96GWPM+eBjZwXLwPkmpW r7Hw== X-Received: by 10.180.85.134 with SMTP id h6mr13278748wiz.81.1445734794284; Sat, 24 Oct 2015 17:59:54 -0700 (PDT) Received: from localhost.localdomain (vno44-1-88-172-188-148.fbx.proxad.net. [88.172.188.148]) by smtp.gmail.com with ESMTPSA id jd9sm8406757wic.0.2015.10.24.17.59.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Oct 2015 17:59:53 -0700 (PDT) From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= To: Date: Sun, 25 Oct 2015 02:59:34 +0200 Message-Id: <1445734779-7212-8-git-send-email-benoit.thebaudeau.dev@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445734779-7212-1-git-send-email-benoit.thebaudeau.dev@gmail.com> References: <1445734779-7212-1-git-send-email-benoit.thebaudeau.dev@gmail.com> MIME-Version: 1.0 Cc: Thomas Petazzoni , =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Subject: [Buildroot] [PATCH v3 08/13] package/dhcp: remove sleep from SysV init scripts restart X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Benoît Thébaudeau No sleep is required for the restart and force-reload operations to succeed. Signed-off-by: Benoît Thébaudeau --- Changes v2 -> v3: none. Changes v1 -> v2: - Rebase. --- package/dhcp/S80dhcp-relay | 1 - package/dhcp/S80dhcp-server | 1 - 2 files changed, 2 deletions(-) diff --git a/package/dhcp/S80dhcp-relay b/package/dhcp/S80dhcp-relay index 6493eda..211431b 100755 --- a/package/dhcp/S80dhcp-relay +++ b/package/dhcp/S80dhcp-relay @@ -43,7 +43,6 @@ case "$1" in ;; restart | force-reload) $0 stop - sleep 2 $0 start ;; *) diff --git a/package/dhcp/S80dhcp-server b/package/dhcp/S80dhcp-server index c56e7c3..dc9c433 100755 --- a/package/dhcp/S80dhcp-server +++ b/package/dhcp/S80dhcp-server @@ -33,7 +33,6 @@ case "$1" in ;; restart | force-reload) $0 stop - sleep 2 $0 start if [ "$?" != "0" ]; then exit 1