Browse Source

dhcpcd: wait for master socket

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
master
David Oberhollenzer 3 years ago
parent
commit
98d5ba81be
  1. 1
      .gitignore
  2. 1
      configure.ac
  3. 2
      services/Makemodule.am
  4. 5
      services/dhcpcd.in

1
.gitignore

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

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

2
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

5
services/dhcpcd → 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
}
Loading…
Cancel
Save