summaryrefslogtreecommitdiff
path: root/mk/rootfs/openrc/etc/init.d/udhcpc
blob: 9def7b606edf13eb4f03aa8f5300991d9f308690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
# Copyright (c) 2013 Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# Released under the 2-clause BSD license.

command=/sbin/udhcpc
pidfile=${udhcpc_pidfile:=/var/run/udhcpc.pid}
command_args=--pidfile=${pidfile} ${udhcpc_args}
name="Busybox DHCP client"

depend()
{
	provide net
	need localmount
	after bootmisc modules
}