Open SyRenity opened 10 years ago
board_id(){ EEPROM_DEVICE=/sys/bus/i2c/devices/0-0050/eeprom board_id=dd bs=12 skip=7 count=1 if=$EEPROM_DEVICE 2>/dev/null }
dd bs=12 skip=7 count=1 if=$EEPROM_DEVICE 2>/dev/null
This is supposed to be a unique ID. I do not know how it is generated, @goytin, where is this id taken from? Please confirm that is unique.
board_id(){ EEPROM_DEVICE=/sys/bus/i2c/devices/0-0050/eeprom board_id=
dd bs=12 skip=7 count=1 if=$EEPROM_DEVICE 2>/dev/null
}