Go to file
Dustin 52e28b6912 dhcpcd: Fix startup process
The *dhcpcd.service* systemd unit file that ships with Buildroot is
broken.  It orders the unit after *network.target*, which makes no
sense.  It also configures the process to fork, but incorrectly
configures the PID file.  Finally, by relying on the fork to indicate
that the network is "online," it does not distinguish between "an
interface is up" and "the network is reachable."  As most daemons only
need the former, they only rely on *network.target*, and thus can fail
to start correctly.

To correct this brokenness, we provide our own unit file for
*dhcpcd.service*, based on the one included in the Fedora *dhcpcd* RPM
package.  For "online" signalling, we provide a pair of shell scripts:
one reads from a named pipe waiting for a message and the other sends a
message to the pipe when configuration is complete.
2022-06-27 10:25:07 -05:00
ci ci: Install systemd in build container 2022-06-23 10:33:30 -05:00
configs Add Nginx 2022-06-26 12:39:15 -05:00
initramfs/overlay Initial commit 2022-06-22 17:06:58 -05:00
package dhcpcd: Fix startup process 2022-06-27 10:25:07 -05:00
rootfs dhcpcd: Fix startup process 2022-06-27 10:25:07 -05:00
.editorconfig Initial commit 2022-06-22 17:06:58 -05:00
.gitignore Initial commit 2022-06-22 17:06:58 -05:00
Config.in Add Grafana, AlertManager, vmutils 2022-06-26 12:35:12 -05:00
Makefile package: Include Pi firmware in archive root 2022-06-23 10:26:04 -05:00
cmdline.txt Initial commit 2022-06-22 17:06:58 -05:00
config.txt Initial commit 2022-06-22 17:06:58 -05:00
external.desc Initial commit 2022-06-22 17:06:58 -05:00
external.mk Install Victoria Metrics 2022-06-23 10:59:07 -05:00
linux.config Initial commit 2022-06-22 17:06:58 -05:00
nsswitch.conf Initial commit 2022-06-22 17:06:58 -05:00