From patchwork Sun Oct 25 00:59:30 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: 535517 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 A716214131D for ; Sun, 25 Oct 2015 12:00:15 +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=JZs8PfR6; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E23F1316FB; Sun, 25 Oct 2015 01:00:14 +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 fF6N9MibbQZD; Sun, 25 Oct 2015 01:00:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id F0055318BC; Sun, 25 Oct 2015 00:59:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 78C771C0BE0 for ; Sun, 25 Oct 2015 00:59:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7364C30C64 for ; Sun, 25 Oct 2015 00:59:53 +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 7bnWy-hiiCTk for ; Sun, 25 Oct 2015 00:59:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by silver.osuosl.org (Postfix) with ESMTPS id 275D8248A1 for ; Sun, 25 Oct 2015 00:59:52 +0000 (UTC) Received: by wicll6 with SMTP id ll6so72424272wic.0 for ; Sat, 24 Oct 2015 17:59:50 -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=lKRQVrlDj1jFgDYt4iGxaWQjreAvRDtfX/tQQStuB4U=; b=JZs8PfR6L+NdWuuV7ZGqC3gXZATryHCyY5DoH/9eN0z+QYM/Rh9HUuAikXKZmOV013 yikPdi7YvPVhXBO2Ju/ho75yEK1XUumjtrRL3bAkAREXI0FD5e/pJZMMzuDJ5G9KB1sd ljG9+/SIjIq4T3ygliPfKrDIbWer0d6MZXyhNXYQSfwCFOfPi7bP3BM6bgiSOOLWC1E6 NHvfkZUE+ryBM9qGGqwO66MimWGLIrz5s9E3V+pvRx4An4Hvj1OPDYo1Ru/Q657EIJzG /ufh8NNz6MQUwu3tfFL87p7Smoi0YZk5Dr+jH6QG86C4t0RqlpWtbCrKoNZmUOvgv1df 8+bQ== X-Received: by 10.180.186.195 with SMTP id fm3mr12750078wic.1.1445734790537; Sat, 24 Oct 2015 17:59:50 -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.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Oct 2015 17:59:50 -0700 (PDT) From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= To: Date: Sun, 25 Oct 2015 02:59:30 +0200 Message-Id: <1445734779-7212-4-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 04/13] package/dhcp: systemd: support extra options 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" Add an OPTIONS configuration variable in order to make it possible to pass custom extra options to dhcpd. This keeps the systemd support consistent with the SysV init script. Signed-off-by: Benoît Thébaudeau Reviewed-by: "Maxime Hadjinlian" --- Changes v2 -> v3: new patch. --- package/dhcp/dhcpd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcpd.service b/package/dhcp/dhcpd.service index 5989506..ad1300c 100644 --- a/package/dhcp/dhcpd.service +++ b/package/dhcp/dhcpd.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=forking PIDFile=/run/dhcpd.pid -ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $INTERFACES +ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $OPTIONS $INTERFACES KillSignal=SIGINT EnvironmentFile=/etc/default/dhcpd