summaryrefslogtreecommitdiff
path: root/recipes-core/multitech
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-05-22 14:51:26 -0500
committerJohn Klug <john.klug@multitech.com>2019-05-22 14:51:26 -0500
commitc4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba (patch)
tree59c7021a19e891fc002113e94fe21524336a16d1 /recipes-core/multitech
parent066eabf3dc9ec218f16fd988fd2ce2e18cb88c33 (diff)
downloadmeta-mlinux-atmel-c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba.tar.gz
meta-mlinux-atmel-c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba.tar.bz2
meta-mlinux-atmel-c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba.zip
dnsmasq configuration for MTHS factory test.
Diffstat (limited to 'recipes-core/multitech')
-rw-r--r--recipes-core/multitech/config/config-mths/default/dnsmasq16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/config-mths/default/dnsmasq b/recipes-core/multitech/config/config-mths/default/dnsmasq
new file mode 100644
index 0000000..d48c464
--- /dev/null
+++ b/recipes-core/multitech/config/config-mths/default/dnsmasq
@@ -0,0 +1,16 @@
+ENABLED="yes"
+
+# dnsmasq configuration is used a hook to further
+# configure the system. Since we don't want any factory
+# settings, we remove the WiFi tarball with saved
+# wifi related settings.
+
+# This configuration is for manufacturing test.
+# Factory resets should not put back wifi defaults.
+if [[ -f /var/config/.defaults2.tar.gz ]] ; then
+ rm /var/config/.defaults2.tar.gz
+fi
+
+# letting ntpd start is a waste of time. The factory
+# tests do not use NTP.
+sed -i 's/ENABLED="yes"/ENABLED="no"/' /etc/default/ntpd