summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/config-mths/default/dnsmasq
blob: d48c4645ce9b7844da023a7202fed0e458922a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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