From abd0e4a8b1e3e1090b66c12979ac8be05ac6deb5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 10 Feb 2015 09:19:36 +0100 Subject: [PATCH] dhcpcd: accept optional service/conf in the runit services. --- srcpkgs/dhcpcd/files/dhcpcd-eth0/run | 3 ++- srcpkgs/dhcpcd/files/dhcpcd/run | 3 ++- srcpkgs/dhcpcd/template | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/dhcpcd/files/dhcpcd-eth0/run b/srcpkgs/dhcpcd/files/dhcpcd-eth0/run index 159bdbc2e0..6d424654b1 100755 --- a/srcpkgs/dhcpcd/files/dhcpcd-eth0/run +++ b/srcpkgs/dhcpcd/files/dhcpcd-eth0/run @@ -1,2 +1,3 @@ #!/bin/sh -exec dhcpcd -B eth0 +[ -r conf ] && . ./conf +exec dhcpcd -B eth0 $OPTS diff --git a/srcpkgs/dhcpcd/files/dhcpcd/run b/srcpkgs/dhcpcd/files/dhcpcd/run index 646eb7b043..ee44936f3f 100755 --- a/srcpkgs/dhcpcd/files/dhcpcd/run +++ b/srcpkgs/dhcpcd/files/dhcpcd/run @@ -1,2 +1,3 @@ #!/bin/sh -exec dhcpcd -M -B +[ -r conf ] && . ./conf +exec dhcpcd -B ${OPTS:=-M} diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template index 8502412e08..14a3af7e47 100644 --- a/srcpkgs/dhcpcd/template +++ b/srcpkgs/dhcpcd/template @@ -1,7 +1,7 @@ # Template file for 'dhcpcd' pkgname=dhcpcd version=6.7.1 -revision=2 +revision=3 lib32disabled=yes build_options="systemd" build_style=configure