mirror of
https://github.com/pygos/build.git
synced 2024-07-03 08:20:12 +02:00
First of all, fix the dependency name in the per-interface service file. Second, we allow the master services daemonize itself and change the target to wait. This way, we block init until we are sure the dhcpcd master is running. Otherwise we have a race condition if init gets scheduled for some reason and immediately starts the dhcpcd interface daemon that cannot see the master and decides that *it* is the msater now. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
10 lines
148 B
Plaintext
10 lines
148 B
Plaintext
description "DHCP client - master service"
|
|
type wait
|
|
target boot
|
|
after sysinit ifrename ifcfg
|
|
|
|
exec {
|
|
mkdir -p /var/db/dhcpcd
|
|
dhcpcd --inactive
|
|
}
|