From 489f392cc63daf1487f4480ebc96a46652766db4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 7 Feb 2013 15:42:53 +0100 Subject: [PATCH] update udhcp.conf to add router/subnet/broadcast ... otherwise busybox-udhcpc is not happy with it --- .../sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf | 3 +++ .../sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 1 + 2 files changed, 4 insertions(+) diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf index 798f1ae..723ad1f 100644 --- a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf @@ -3,3 +3,6 @@ end 10.23.24.254 interface eth1 +option subnet 10.23.24.0 +option router 10.23.24.1 +option broadcast 10.23.24.255 diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index edf0f19..e0e1047 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://udhcpd.conf" +PR = "r2" CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf"