dhcpcd: add runit services.
This commit is contained in:
parent
acaa971c21
commit
5d243f327e
5 changed files with 10 additions and 1 deletions
2
srcpkgs/dhcpcd/files/dhcpcd-eth0/run
Executable file
2
srcpkgs/dhcpcd/files/dhcpcd-eth0/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec dhcpcd -M -B eth0
|
1
srcpkgs/dhcpcd/files/dhcpcd-eth0/supervise
Symbolic link
1
srcpkgs/dhcpcd/files/dhcpcd-eth0/supervise
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/run/runit/supervise.dhcpd-eth0
|
2
srcpkgs/dhcpcd/files/dhcpcd/run
Executable file
2
srcpkgs/dhcpcd/files/dhcpcd/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec dhcpcd -M -B
|
1
srcpkgs/dhcpcd/files/dhcpcd/supervise
Symbolic link
1
srcpkgs/dhcpcd/files/dhcpcd/supervise
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/run/runit/supervise.dhcpcd
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=6.5.0
|
version=6.5.0
|
||||||
revision=1
|
revision=2
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
build_style=configure
|
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
|
||||||
vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system
|
||||||
fi
|
fi
|
||||||
|
vsv dhcpcd
|
||||||
|
vsv dhcpcd-eth0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue