summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core')
-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