diff options
author | John Klug <john.klug@multitech.com> | 2017-12-06 13:46:30 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-12-06 13:46:30 -0600 |
commit | d5360140f86c763e2ea1f9e8c81e238dbeec083b (patch) | |
tree | 98b6a79b479881086ac7b8851cce410693538d57 /recipes-support | |
parent | 9df380c6113893aad116c16a2314beae7c1e4b75 (diff) | |
download | meta-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/default | 1 | ||||
-rw-r--r-- | recipes-support/dnsmasq/files/init | 2 |
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/*" |