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-07-03 17:08:20 -0500
commitc927efc78f1e035f9bea9d492fff2419332b427c (patch)
tree59c7021a19e891fc002113e94fe21524336a16d1 /recipes-core/multitech
parent71a53264e977a354c10711feaaa04dbc63630982 (diff)
downloadmeta-mlinux-c927efc78f1e035f9bea9d492fff2419332b427c.tar.gz
meta-mlinux-c927efc78f1e035f9bea9d492fff2419332b427c.tar.bz2
meta-mlinux-c927efc78f1e035f9bea9d492fff2419332b427c.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