dhcpcd: add runit services.

This commit is contained in:
Juan RP 2014-10-13 11:52:12 +02:00
parent acaa971c21
commit 5d243f327e
5 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec dhcpcd -M -B eth0

View file

@ -0,0 +1 @@
/run/runit/supervise.dhcpd-eth0

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec dhcpcd -M -B

View file

@ -0,0 +1 @@
/run/runit/supervise.dhcpcd

View file

@ -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
}