This website requires JavaScript.
Explore
Help
Sign In
pygos
/
build
Watch
1
Star
0
Fork
You've already forked build
0
mirror of
https://github.com/pygos/build.git
synced
2024-06-26 05:00:11 +02:00
Code
Issues
Releases
Wiki
Activity
acd2a1f57f
build
/
pkg
/
init
/
share
/
init
/
dhcpcd
7 lines
92 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add dhcpcd configuration - Service file for dhcpcd master service - Service template file for interfaces - Service symlink for each configured interface - Get DHCP address on raspberry pi 3 for ethernet port Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 21:53:34 +02:00
description "DHCP client on %0"
type once
target boot
Fix dhcpcd service 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>
2018-05-07 14:57:34 +02:00
after dhcpcdmaster
Add dhcpcd configuration - Service file for dhcpcd master service - Service template file for interfaces - Service symlink for each configured interface - Get DHCP address on raspberry pi 3 for ethernet port Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 21:53:34 +02:00
exec dhcpcd -n %0
Reference in a new issue
Copy permalink