diff options
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/host_vars/ch-raspi-openwrt.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-raspi-openwrt.yml b/inventory/host_vars/ch-raspi-openwrt.yml index 5c2f893d..9539b1c8 100644 --- a/inventory/host_vars/ch-raspi-openwrt.yml +++ b/inventory/host_vars/ch-raspi-openwrt.yml @@ -13,6 +13,7 @@ openwrt_packages_remove: - dnsmasq - odhcpd-ipv6only openwrt_packages_add: + - kmod-i2c-bcm2835 - kmod-usb-net-rtl8152 - kmod-usb-storage - kmod-usb-storage-extras @@ -40,6 +41,10 @@ openwrt_mixin: /etc/htoprc: file: "{{ global_files_dir }}/common/htoprc" + /etc/uci-defaults/99-boot-config.txt: + content: | + echo "dtparam=i2c=on" >> /boot/config.txt + openwrt_uci: system: |