kopia lustrzana https://github.com/km4ack/pi-build
pull/322/head
rodzic
b51e07974e
commit
8febeb9cdf
|
@ -123,11 +123,11 @@ RTC() {
|
|||
IC2ACTIVE=$(ls /dev/*i2c*)
|
||||
|
||||
if [ ${IC2ACTIVE} = '/dev/i2c-1' ]; then
|
||||
echo "IC2 is active"
|
||||
echo "I2C is active"
|
||||
else
|
||||
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
|
||||
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
|
||||
--text="Please enable IC2 interface in the Raspberry Pi Configuration and try again" \
|
||||
--text="Please enable I2C interface in the Raspberry Pi Configuration and try again" \
|
||||
--button=gtk-close
|
||||
exit 1
|
||||
fi
|
||||
|
|
Ładowanie…
Reference in New Issue