mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
dhcp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
ca89a23506
commit
1e6cf9483d
@@ -1,13 +0,0 @@
|
||||
# look for files in the layer first
|
||||
FILESEXTRAPATHS := "${THISDIR}/files"
|
||||
|
||||
inherit systemd
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
SYSTEMD_PACKAGES = "dhcp-server-systemd dhcp-relay-systemd"
|
||||
SYSTEMD_SERVICE_dhcp-server-systemd = "dhcpd.service"
|
||||
SYSTEMD_SERVICE_dhcp-relay-systemd = "dhcrelay.service"
|
||||
|
||||
SRC_URI += "file://dhcpd.service \
|
||||
file://dhcrelay.service"
|
||||
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=Dynamic Host Configuration Protocol (DHCP)
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/dhcpd.pid
|
||||
EnvironmentFile=-/etc/default/dhcp-server
|
||||
ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -q $INTERFACES
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=DHCP Relay Agent Daemon
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/dhcp-relay
|
||||
ExecStart=/usr/sbin/dhcrelay -d $DHCRELAYARGS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user