Ensure i2c is read/write
This commit is contained in:
parent
cbd1a5e90b
commit
a3f20ac648
|
@ -530,6 +530,7 @@ DEVICE=/dev/hashletrng
|
||||||
|
|
||||||
# create a device
|
# create a device
|
||||||
if [ ! -e ${DEVICE} ]; then
|
if [ ! -e ${DEVICE} ]; then
|
||||||
|
chmod o+rw /dev/i2c*
|
||||||
mknod ${DEVICE} p
|
mknod ${DEVICE} p
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue