|
|
@@ -422,10 +422,32 @@ if [[ "$setupfona" =~ ^[yY]?$ ]] ; then
|
|
|
sudo cp /home/bus/popufare/busunit/ppp-dialer/etc/ppp/peers/fona /etc/ppp/peers/gprs
|
|
|
sudo cp /home/bus/popufare/busunit/ppp-dialer/etc/chatscripts/gprs /etc/chatscripts/gprs
|
|
|
|
|
|
+ echo " /home/bus/popufare/busunit/ppp-dialer/etc/ppp/ip-up -> /etc/ppp/ip-up"
|
|
|
+ echo " /home/bus/popufare/busunit/ppp-dialer/etc/ppp/ip-down -> /etc/ppp/ip-down"
|
|
|
+
|
|
|
+ sudo cp /home/bus/popufare/busunit/ppp-dialer/etc/ppp/ip-up /etc/ppp/ip-up
|
|
|
+ sudo cp /home/bus/popufare/busunit/ppp-dialer/etc/ppp/ip-down /etc/ppp/ip-down
|
|
|
+
|
|
|
+ echo ""
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+##### setup ppp connection_tether.sh script
|
|
|
+#####
|
|
|
+
|
|
|
+echo -n "Setup connection_tether.sh PPP script? [Y/n]: "
|
|
|
+read setupctsh
|
|
|
+
|
|
|
+if [[ "$setupctsh" =~ ^[yY]?$ ]] ; then
|
|
|
+
|
|
|
+ echo " $bd/scripts/connection_tether-ppp.sh -> /home/bus/bin/connection_tether.sh "
|
|
|
+ sudo bash -c " cd /home/bus/bin ; cp -fRL $bd/scripts/connection_tether-ppp.sh ./connection_tether.sh "
|
|
|
+
|
|
|
echo ""
|
|
|
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
##### disable serial-getty@ttyAMA0
|
|
|
#####
|
|
|
|