diff options
-rw-r--r-- | main/dhcpcd/APKBUILD | 6 | ||||
-rw-r--r-- | main/dhcpcd/dhcpcd.initd | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD index b7575bacdf7..f6adc669638 100644 --- a/main/dhcpcd/APKBUILD +++ b/main/dhcpcd/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcpcd pkgver=9.4.1 -pkgrel=4 +pkgrel=5 pkgdesc="RFC2131 compliant DHCP client" url="https://roy.marples.name/projects/dhcpcd" arch="all" @@ -26,7 +26,7 @@ build() { --localstatedir=/var \ --libexecdir=/usr/lib/$pkgname \ --dbdir=/var/lib/$pkgname \ - --rundir=/run \ + --rundir=/run/dhcpcd \ --enable-ipv6 \ --without-dev \ --without-udev \ @@ -48,5 +48,5 @@ sha512sums=" 530e6a5bddab4f91bd66f8d47ccd8d6cac4bc2998ddd36da7e257c83270b558016e9e1fc2f815fb99c0d86ed4bbc2a3a1b78788e69fe151fddaf94428a47fa45 dhcpcd-9.4.1.tar.xz 692b2c8c75166fabd512a7cc69c650f9391e0f682ce9cbe1771bfa44e82dcf09e322c46493c45ca75000f479d3cddde306754ba31d28a798a15e2b79a56045f0 busybox-logger.patch 1c19eed0f7a008ee96ea392beb327169ff8c83fc27fed20f65f05c9125f60629ebe3474c5e6a7cf4aeeea448fde4264c9b84916efacd67d47ab908c47b1fc3a5 fix-chrony-conf-location.patch -f2c9878449ba8a8d7415c31c7e955bcfc3e1dc7cc84d06de39a3584bb9cae42e214176dd3a91f4d998d94e098be3d9fa990b7277b4763e292b8f32e45dc6f7e5 dhcpcd.initd +7fb44b82a6fa25ee6249fc4835853a4c1fc7d327653efabd9fde303b1f306b3aa6956b2621b55a24fc007ec7ad878ce50e7418ebff0b17fece76e2fdd9e5190d dhcpcd.initd " diff --git a/main/dhcpcd/dhcpcd.initd b/main/dhcpcd/dhcpcd.initd index 7daa07b94e9..bcefb601d6c 100644 --- a/main/dhcpcd/dhcpcd.initd +++ b/main/dhcpcd/dhcpcd.initd @@ -5,7 +5,7 @@ description="DHCP Client Daemon" command="/sbin/dhcpcd" command_args="-q -B ${command_args:-}" command_background="true" -pidfile="/run/dhcpcd.pid" +pidfile="/run/dhcpcd/pid" depend() { provide net @@ -14,3 +14,7 @@ depend() { after bootmisc modules before dns } + +start_pre() { + checkpath -d /run/dhcpcd +} |