sysmocom-udhcpd-config: start the udhcpd on the sysmocom-bsc only when eth1 is present

* the change affects the config file, so the package number
  is bumped

Related: SYS#735
This commit is contained in:
Henning Heinold 2014-12-12 17:40:05 +01:00 committed by Holger Hans Peter Freyther
parent 036d66a47c
commit 1ed9350964
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
[Unit]
Description=UDHCPD
Requires=sys-subsystem-net-devices-eth1.device
After=sys-subsystem-net-devices-eth1.device
[Service]
Type=simple

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \
SRC_URI = "file://udhcpd.conf \
file://udhcpd.service \
"
PR = "r5"
PR = "r0"
CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf"
FILES_${PN} += "${systemd_unitdir}"