Переглянути джерело

more ppp installation issues

* ip-up and ip-down need to be installed (to give network drop file)
* allow for ppp connection tether script install
clementinecomputing 5 роки тому
батько
коміт
22e24a0388
1 змінених файлів з 22 додано та 0 видалено
  1. 22 0
      aux/deploy-busunit-interactive

+ 22 - 0
aux/deploy-busunit-interactive

@@ -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
 #####