aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am2
-rw-r--r--services/dhcpcd.in (renamed from services/dhcpcd)5
2 files changed, 5 insertions, 2 deletions
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
+}