summaryrefslogtreecommitdiff
path: root/recipes-support
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-12-06 13:46:30 -0600
committerJohn Klug <john.klug@multitech.com>2017-12-06 13:46:30 -0600
commitd5360140f86c763e2ea1f9e8c81e238dbeec083b (patch)
tree98b6a79b479881086ac7b8851cce410693538d57 /recipes-support
parent9df380c6113893aad116c16a2314beae7c1e4b75 (diff)
downloadmeta-mlinux-d5360140f86c763e2ea1f9e8c81e238dbeec083b.tar.gz
meta-mlinux-d5360140f86c763e2ea1f9e8c81e238dbeec083b.tar.bz2
meta-mlinux-d5360140f86c763e2ea1f9e8c81e238dbeec083b.zip
Add dnsmasq to rs9113 factory image for BT pan and WiFi access point
Diffstat (limited to 'recipes-support')
-rw-r--r--recipes-support/dnsmasq/files/default1
-rw-r--r--recipes-support/dnsmasq/files/init2
2 files changed, 3 insertions, 0 deletions
diff --git a/recipes-support/dnsmasq/files/default b/recipes-support/dnsmasq/files/default
new file mode 100644
index 0000000..98190d2
--- /dev/null
+++ b/recipes-support/dnsmasq/files/default
@@ -0,0 +1 @@
+ENABLED="no"
diff --git a/recipes-support/dnsmasq/files/init b/recipes-support/dnsmasq/files/init
index 51c95df..5f457f8 100644
--- a/recipes-support/dnsmasq/files/init
+++ b/recipes-support/dnsmasq/files/init
@@ -13,6 +13,8 @@ then
. /etc/default/$NAME
fi
+[[ "$ENABLED" = "yes" ]] || exit
+
DNSMASQ_CONF="/etc/dnsmasq.conf"
test "/etc/dnsmasq.d/*" != '/etc/dnsmasq.d/*' && DNSMASQ_CONF="${DNSMASQ_CONF} /etc/dnsmasq.d/*"