From c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 22 May 2019 14:51:26 -0500 Subject: dnsmasq configuration for MTHS factory test. --- .../multitech/config/config-mths/default/dnsmasq | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-core/multitech/config/config-mths/default/dnsmasq (limited to 'recipes-core') 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 -- cgit v1.2.3