From d5360140f86c763e2ea1f9e8c81e238dbeec083b Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 6 Dec 2017 13:46:30 -0600 Subject: Add dnsmasq to rs9113 factory image for BT pan and WiFi access point --- recipes-support/dnsmasq/files/default | 1 + recipes-support/dnsmasq/files/init | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 recipes-support/dnsmasq/files/default (limited to 'recipes-support') 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/*" -- cgit v1.2.3