diff options
author | John Klug <john.klug@multitech.com> | 2019-05-22 14:51:26 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-05-22 14:51:26 -0500 |
commit | c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba (patch) | |
tree | 59c7021a19e891fc002113e94fe21524336a16d1 | |
parent | 066eabf3dc9ec218f16fd988fd2ce2e18cb88c33 (diff) | |
download | meta-mlinux-c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba.tar.gz meta-mlinux-c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba.tar.bz2 meta-mlinux-c4f1525f9b67e39b0eb1e2d9b09dabd005fea6ba.zip |
dnsmasq configuration for MTHS factory test.
-rw-r--r-- | recipes-core/multitech/config/config-mths/default/dnsmasq | 16 |
1 files changed, 16 insertions, 0 deletions
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 |