1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-11-24 21:20:42 +01:00

dhcpcd: wait for master socket

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-24 18:14:07 +01:00
parent 244f4bbe7a
commit 98d5ba81be
4 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View file

@ -29,6 +29,7 @@ services/swclocksave
services/sysfs
services/mountusr
services/tmpfsvar
services/dhcpcd
crontab/swclock
etc/40-ntpsetdate
.#*

View file

@ -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])

View file

@ -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

View file

@ -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
}