Browse Source

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
neels/inmarsat
Henning Heinold 7 years ago
committed by Holger Hans Peter Freyther
parent
commit
1ed9350964
  1. 2
      recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service
  2. 2
      recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_2.bb

2
recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service

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

2
recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb → recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_2.bb

@ -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}"
Loading…
Cancel
Save