diff --git a/srcpkgs/dhcpcd/files/dhcpcd-eth0/run b/srcpkgs/dhcpcd/files/dhcpcd-eth0/run new file mode 100755 index 0000000000..bd8e0f17be --- /dev/null +++ b/srcpkgs/dhcpcd/files/dhcpcd-eth0/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec dhcpcd -M -B eth0 diff --git a/srcpkgs/dhcpcd/files/dhcpcd-eth0/supervise b/srcpkgs/dhcpcd/files/dhcpcd-eth0/supervise new file mode 120000 index 0000000000..9a087b7a63 --- /dev/null +++ b/srcpkgs/dhcpcd/files/dhcpcd-eth0/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dhcpd-eth0 \ No newline at end of file diff --git a/srcpkgs/dhcpcd/files/dhcpcd/run b/srcpkgs/dhcpcd/files/dhcpcd/run new file mode 100755 index 0000000000..646eb7b043 --- /dev/null +++ b/srcpkgs/dhcpcd/files/dhcpcd/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec dhcpcd -M -B diff --git a/srcpkgs/dhcpcd/files/dhcpcd/supervise b/srcpkgs/dhcpcd/files/dhcpcd/supervise new file mode 120000 index 0000000000..4fe4a00318 --- /dev/null +++ b/srcpkgs/dhcpcd/files/dhcpcd/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dhcpcd \ No newline at end of file diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template index 7b35d6a623..0cde945e5f 100644 --- a/srcpkgs/dhcpcd/template +++ b/srcpkgs/dhcpcd/template @@ -1,7 +1,8 @@ # Template file for 'dhcpcd' pkgname=dhcpcd version=6.5.0 -revision=1 +revision=2 +replaces="runit-void<20141013_2" lib32disabled=yes build_options="systemd" build_style=configure @@ -22,4 +23,6 @@ post_install() { vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system fi + vsv dhcpcd + vsv dhcpcd-eth0 }