aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udhcp/softap-udhcpd-config_1.0.bb
diff options
context:
space:
mode:
authorChase Maupin <Chase.Maupin@ti.com>2011-06-30 05:48:53 +0000
committerDenys Dmytriyenko <denys@ti.com>2011-06-30 16:28:36 -0400
commit30775f90f3d451bf83512ecbda23f32b522638e1 (patch)
tree2d9e9aa37751a3a043f451dd1b58b018b3118866 /recipes/udhcp/softap-udhcpd-config_1.0.bb
parent0bc40262c9c5eb8f426f6879dc36f1fee5f43365 (diff)
downloadopenembedded-30775f90f3d451bf83512ecbda23f32b522638e1.tar.gz
openembedded-30775f90f3d451bf83512ecbda23f32b522638e1.tar.bz2
openembedded-30775f90f3d451bf83512ecbda23f32b522638e1.zip
softap-udhcpd-config: add recipe for udhcpd config files
* Install udhcpd.conf file for setting up networking for Soft AP. * Allow machine specific versions of the configuration file. * Default configuration file is from the samples/udhcp.conf file in the base udhcpd package. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes/udhcp/softap-udhcpd-config_1.0.bb')
-rw-r--r--recipes/udhcp/softap-udhcpd-config_1.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/udhcp/softap-udhcpd-config_1.0.bb b/recipes/udhcp/softap-udhcpd-config_1.0.bb
new file mode 100644
index 0000000000..c3a7f2f8c1
--- /dev/null
+++ b/recipes/udhcp/softap-udhcpd-config_1.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Configuration files for SoftAP with udhcpd"
+SECTION = "console/network"
+HOMEPAGE = "http://udhcp.busybox.net/"
+LICENSE = "GPLv2+"
+
+PR = "r0"
+
+S = ${WORKDIR}
+
+# Default configuration file is from the base udhcp package
+SRC_URI = "file://udhcpd.conf"
+
+do_install() {
+ install -d ${D}${sysconfdir}
+ install -m 0755 ${S}/udhcpd.conf ${D}${sysconfdir}
+}
+
+FILES_${PN} += "${sysconfdir}/udhcpd.conf"
+CONFFILES_${PN} += "${sysconfdir}/udhcpd.conf"