summaryrefslogtreecommitdiff
path: root/recipes-core/multitech
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-05-22 15:15:05 -0500
commit2332a398d0120404a1a5c6958efefb12f17e5713 (patch)
treec5b38d979a41394cab2c64ba91e1021f54c478c6 /recipes-core/multitech
parent27305bcacf848f618b24e81f0be7f59cb2e22981 (diff)
downloadmeta-mlinux-atmel-2332a398d0120404a1a5c6958efefb12f17e5713.tar.gz
meta-mlinux-atmel-2332a398d0120404a1a5c6958efefb12f17e5713.tar.bz2
meta-mlinux-atmel-2332a398d0120404a1a5c6958efefb12f17e5713.zip
Use /etc/default/dnsmasq as a hook to remove user settings in .defaults2.tar.gz and disable ntpd
Diffstat (limited to 'recipes-core/multitech')
-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