Skip to content

Commit 2ccc29d

Browse files
authored
Disable 1-Wire
Disable 1-Wire to prevent errors in logs. openenergymonitor#156
1 parent 1e93b91 commit 2ccc29d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/emonsd.sh

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ sudo apt-get install -y ufw
5353
# Removed see: https://github.com/openenergymonitor/EmonScripts/issues/83
5454
# sudo sed -i "s/^#arm_freq=800/arm_freq=1200\ngpu_mem=16/" /boot/config.txt
5555

56+
# Disable 1-Wire to prevent errors in logs
57+
# Issue #156
58+
echo "Disabling 1-Wire - will take effect on next reboot"
59+
sudo sed -i 's/dtoverlay=w1-gpio/#dtoverlay=w1-gpio/' /boot/config.txt
60+
5661
# 6 Sep 2019 decision to leave elevator setting as default
5762
# option to review in future: elevator=noop
5863

0 commit comments

Comments
 (0)