aports/main/dhcpcd/dhcpcd.initd
2023-04-15 11:27:59 +02:00

20 lines
311 B
Bash

#!/sbin/openrc-run
description="DHCP Client Daemon"
command="/sbin/dhcpcd"
command_args="-q -B ${command_args:-}"
command_background="true"
pidfile="/run/dhcpcd/pid"
depend() {
provide net
need localmount
use logger network
after bootmisc modules
before dns
}
start_pre() {
checkpath -d /run/dhcpcd
}