blob: 5868e8aa6256f56e525654a75a1225b139e465db [file] [log] [blame]
#!/bin/sh
systemctl stop serial-getty@ttyS0
echo nct7904 0x2e > /sys/bus/i2c/devices/i2c-6/new_device
echo nct7904 0x2d > /sys/bus/i2c/devices/i2c-6/new_device
echo 0x2d > /sys/bus/i2c/devices/i2c-6/delete_device
echo 0x2e > /sys/bus/i2c/devices/i2c-6/delete_device
echo nct7904 0x2e > /sys/bus/i2c/devices/i2c-6/new_device
echo nct7904 0x2d > /sys/bus/i2c/devices/i2c-6/new_device