mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 01:26:38 +02:00
20 lines
311 B
Bash
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
|
|
}
|