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 /services/dhcpcd.in | |
parent | 244f4bbe7a03b8ce1f706e2481deaabcdf7c2b3c (diff) |
dhcpcd: wait for master socket
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'services/dhcpcd.in')
-rw-r--r-- | services/dhcpcd.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/services/dhcpcd.in b/services/dhcpcd.in new file mode 100644 index 0000000..0d83093 --- /dev/null +++ b/services/dhcpcd.in @@ -0,0 +1,10 @@ +description "DHCP client on %0" +type once +target boot +after dhcpcdmaster network + +tty /dev/null +exec { + "@SCRIPTDIR@/waitfile" 5 200 /run/dhcpcd.sock /run/dhcpcd.pid + dhcpcd -n %0 +} |