From 42b245b38ad09987840001f792f194bb154c7c7b Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 22 May 2019 15:15:05 -0500 Subject: Use /etc/default/dnsmasq as a hook to remove user settings in .defaults2.tar.gz and disable ntpd --- recipes-core/multitech/config/config-mths/default/dnsmasq | 8 +------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3