diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-24 18:14:07 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-24 18:14:07 +0100 |
commit | 98d5ba81be3b2eafa3865e727b058d3bce11e806 (patch) | |
tree | a2fbcb3a8cbc0e6f0f9dae00d98c402e8237c683 | |
parent | 244f4bbe7a03b8ce1f706e2481deaabcdf7c2b3c (diff) |
dhcpcd: wait for master socket
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | services/Makemodule.am | 2 | ||||
-rw-r--r-- | services/dhcpcd.in (renamed from services/dhcpcd) | 5 |
4 files changed, 7 insertions, 2 deletions
@@ -29,6 +29,7 @@ services/swclocksave services/sysfs services/mountusr services/tmpfsvar +services/dhcpcd crontab/swclock etc/40-ntpsetdate .#*
\ No newline at end of file diff --git a/configure.ac b/configure.ac index e2aef74..b784bec 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ AC_CONFIG_FILES([services/sshd]) AC_CONFIG_FILES([services/sshd_keygen]) AC_CONFIG_FILES([services/mountusr]) AC_CONFIG_FILES([services/tmpfsvar]) +AC_CONFIG_FILES([services/dhcpcd]) AC_CONFIG_FILES([scripts/devfs.sh]) AC_CONFIG_FILES([scripts/ifrename.sh]) AC_CONFIG_FILES([scripts/ifcfg.sh]) diff --git a/services/Makemodule.am b/services/Makemodule.am index 3baf46f..8bd2bb1 100644 --- a/services/Makemodule.am +++ b/services/Makemodule.am @@ -21,7 +21,7 @@ endif EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname EXTRA_DIST += services/hwclock services/loopback services/klogd EXTRA_DIST += services/sync services/sysctl services/tmpfs -EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound +EXTRA_DIST += services/dhcpcdmaster services/unbound EXTRA_DIST += services/usyslogd services/dnsmasq services/network EXTRA_DIST += services/consolefont services/gcrond services/nginx EXTRA_DIST += services/tmpfsrun diff --git a/services/dhcpcd b/services/dhcpcd.in index 184a843..0d83093 100644 --- a/services/dhcpcd +++ b/services/dhcpcd.in @@ -4,4 +4,7 @@ target boot after dhcpcdmaster network tty /dev/null -exec dhcpcd -n %0 +exec { + "@SCRIPTDIR@/waitfile" 5 200 /run/dhcpcd.sock /run/dhcpcd.pid + dhcpcd -n %0 +} |