summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-05-22 15:15:05 -0500
committerJohn Klug <john.klug@multitech.com>2019-07-03 17:08:20 -0500
commit42b245b38ad09987840001f792f194bb154c7c7b (patch)
treec5b38d979a41394cab2c64ba91e1021f54c478c6
parent6fec73c533fc7ac8a3ae1543f92b15c14f162225 (diff)
downloadmeta-mlinux-42b245b38ad09987840001f792f194bb154c7c7b.tar.gz
meta-mlinux-42b245b38ad09987840001f792f194bb154c7c7b.tar.bz2
meta-mlinux-42b245b38ad09987840001f792f194bb154c7c7b.zip
Use /etc/default/dnsmasq as a hook to remove user settings in .defaults2.tar.gz and disable ntpd
-rw-r--r--recipes-core/multitech/config/config-mths/default/dnsmasq8
1 files changed, 1 insertions, 7 deletions
diff --git a/recipes-core/multitech/config/config-mths/default/dnsmasq b/recipes-core/multitech/config/config-mths/default/dnsmasq
index d48c464..a27c1c6 100644
--- a/recipes-core/multitech/config/config-mths/default/dnsmasq
+++ b/recipes-core/multitech/config/config-mths/default/dnsmasq
@@ -1,16 +1,10 @@
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.
+# Stop ntpd. ntpd default is in root.
sed -i 's/ENABLED="yes"/ENABLED="no"/' /etc/default/ntpd