Set Type=forking for dhcpd.service to make it start up correctly.

Signed-off-by: Chen Qi <[email protected]>
---
 meta/recipes-connectivity/dhcp/files/dhcpd.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/dhcp/files/dhcpd.service 
b/meta/recipes-connectivity/dhcp/files/dhcpd.service
index 8648f1a..80f6c41 100644
--- a/meta/recipes-connectivity/dhcp/files/dhcpd.service
+++ b/meta/recipes-connectivity/dhcp/files/dhcpd.service
@@ -4,6 +4,7 @@ After=network.target
 After=time-sync.target
 
 [Service]
+Type=forking
 EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
 ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES
 
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to