|
|
@@ -426,6 +426,24 @@ if [[ "$setupfona" =~ ^[yY]?$ ]] ; then
|
|
|
|
|
|
fi
|
|
|
|
|
|
+##### disable serial-getty@ttyAMA0
|
|
|
+#####
|
|
|
+
|
|
|
+echo -n "Disable serial-getty@ttyAMA0 service (this can interfere with the GPRS modem)? [Y/n]: "
|
|
|
+read disablegettyama
|
|
|
+
|
|
|
+if [[ "$disablegettyama" =~ ^[yY]?$ ]] ; then
|
|
|
+
|
|
|
+ echo " Disabling serial-getty@ttyAMA0 service..."
|
|
|
+
|
|
|
+ echo " systemctl mask serial-getty@ttyAMA0.service"
|
|
|
+ systemctl mask serial-getty@ttyAMA0.service
|
|
|
+
|
|
|
+ echo ""
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
#echo -n "Setup FONA to connect at startup? [Y/n]: "
|
|
|
#read fonanetwork
|
|
|
#
|