Bug Fix: EXTRA for Cellular IoT HAT is Added.

This commit is contained in:
saeedjohar 2019-05-07 11:51:09 +03:00
parent d8488636ed
commit 87964c3c70

View File

@ -110,7 +110,7 @@ echo "${YELLOW}What is your device communication PORT? (ttyS0/ttyUSB3/etc.)${SET
read devicename read devicename
mkdir -p /etc/chatscripts mkdir -p /etc/chatscripts
if [ $shield_hat -eq 3 ]; then if [ $shield_hat -eq 3 ] || [ $shield_hat -eq 4 ]; then
sed -i "s/#EXTRA/$EXTRA/" chat-connect sed -i "s/#EXTRA/$EXTRA/" chat-connect
else else
sed -i "/#EXTRA/d" chat-connect sed -i "/#EXTRA/d" chat-connect