diff options
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp.inc | 1 | ||||
-rw-r--r-- | meta/recipes-connectivity/dhcp/files/dhcrelay.service | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc b/meta/recipes-connectivity/dhcp/dhcp.inc index 421221f388..aafdd0a13d 100644 --- a/meta/recipes-connectivity/dhcp/dhcp.inc +++ b/meta/recipes-connectivity/dhcp/dhcp.inc | |||
@@ -79,6 +79,7 @@ do_install_append () { | |||
79 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcpd*.service | 79 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcpd*.service |
80 | sed -i -e 's,@base_bindir@,${base_bindir},g' ${D}${systemd_unitdir}/system/dhcpd*.service | 80 | sed -i -e 's,@base_bindir@,${base_bindir},g' ${D}${systemd_unitdir}/system/dhcpd*.service |
81 | sed -i -e 's,@localstatedir@,${localstatedir},g' ${D}${systemd_unitdir}/system/dhcpd*.service | 81 | sed -i -e 's,@localstatedir@,${localstatedir},g' ${D}${systemd_unitdir}/system/dhcpd*.service |
82 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcrelay.service | ||
82 | } | 83 | } |
83 | 84 | ||
84 | PACKAGES += "dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell" | 85 | PACKAGES += "dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell" |
diff --git a/meta/recipes-connectivity/dhcp/files/dhcrelay.service b/meta/recipes-connectivity/dhcp/files/dhcrelay.service index a2d818917d..15ff927d34 100644 --- a/meta/recipes-connectivity/dhcp/files/dhcrelay.service +++ b/meta/recipes-connectivity/dhcp/files/dhcrelay.service | |||
@@ -3,7 +3,8 @@ Description=DHCP Relay Agent Daemon | |||
3 | After=network.target | 3 | After=network.target |
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | ExecStart=@SBINDIR@/dhcrelay -d --no-pid | 6 | EnvironmentFile=@SYSCONFDIR@/default/dhcp-relay |
7 | ExecStart=@SBINDIR@/dhcrelay -d --no-pid -q $SERVERS | ||
7 | 8 | ||
8 | [Install] | 9 | [Install] |
9 | WantedBy=multi-user.target | 10 | WantedBy=multi-user.target |