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:
parent
244f4bbe7a
commit
98d5ba81be
4 changed files with 7 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -29,6 +29,7 @@ services/swclocksave
|
||||||
services/sysfs
|
services/sysfs
|
||||||
services/mountusr
|
services/mountusr
|
||||||
services/tmpfsvar
|
services/tmpfsvar
|
||||||
|
services/dhcpcd
|
||||||
crontab/swclock
|
crontab/swclock
|
||||||
etc/40-ntpsetdate
|
etc/40-ntpsetdate
|
||||||
.#*
|
.#*
|
|
@ -35,6 +35,7 @@ AC_CONFIG_FILES([services/sshd])
|
||||||
AC_CONFIG_FILES([services/sshd_keygen])
|
AC_CONFIG_FILES([services/sshd_keygen])
|
||||||
AC_CONFIG_FILES([services/mountusr])
|
AC_CONFIG_FILES([services/mountusr])
|
||||||
AC_CONFIG_FILES([services/tmpfsvar])
|
AC_CONFIG_FILES([services/tmpfsvar])
|
||||||
|
AC_CONFIG_FILES([services/dhcpcd])
|
||||||
AC_CONFIG_FILES([scripts/devfs.sh])
|
AC_CONFIG_FILES([scripts/devfs.sh])
|
||||||
AC_CONFIG_FILES([scripts/ifrename.sh])
|
AC_CONFIG_FILES([scripts/ifrename.sh])
|
||||||
AC_CONFIG_FILES([scripts/ifcfg.sh])
|
AC_CONFIG_FILES([scripts/ifcfg.sh])
|
||||||
|
|
|
@ -21,7 +21,7 @@ endif
|
||||||
EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname
|
EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname
|
||||||
EXTRA_DIST += services/hwclock services/loopback services/klogd
|
EXTRA_DIST += services/hwclock services/loopback services/klogd
|
||||||
EXTRA_DIST += services/sync services/sysctl services/tmpfs
|
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/usyslogd services/dnsmasq services/network
|
||||||
EXTRA_DIST += services/consolefont services/gcrond services/nginx
|
EXTRA_DIST += services/consolefont services/gcrond services/nginx
|
||||||
EXTRA_DIST += services/tmpfsrun
|
EXTRA_DIST += services/tmpfsrun
|
||||||
|
|
|
@ -4,4 +4,7 @@ target boot
|
||||||
after dhcpcdmaster network
|
after dhcpcdmaster network
|
||||||
|
|
||||||
tty /dev/null
|
tty /dev/null
|
||||||
exec dhcpcd -n %0
|
exec {
|
||||||
|
"@SCRIPTDIR@/waitfile" 5 200 /run/dhcpcd.sock /run/dhcpcd.pid
|
||||||
|
dhcpcd -n %0
|
||||||
|
}
|
Loading…
Reference in a new issue