diff --git a/ppp_installer/install_ppp_jetson.sh b/ppp_installer/install_ppp_jetson.sh index 9dfa308..ba590a8 100755 --- a/ppp_installer/install_ppp_jetson.sh +++ b/ppp_installer/install_ppp_jetson.sh @@ -1,5 +1,7 @@ #!/bin/sh - +:' +Created on July 12, 2019 by Saeed Johar (saeedjohar) +' YELLOW='\033[1;33m' RED='\033[0;31m' BLUE='\033[1;34m' @@ -60,21 +62,6 @@ if [ $? -ne 0 ]; then exit 1; fi -while [ 1 ] -do - echo "${YELLOW}Do you have updated kernel? [Y/n] ${SET}" - read kernelUpdate - - case $kernelUpdate in - [Yy]* ) break;; - - [Nn]* ) echo "${YELLOW}rpi-update${SET}" - rpi-update - break;; - *) echo "${RED}Wrong Selection, Select among Y or n${SET}";; - esac -done - echo "${YELLOW}ppp install${SET}" apt-get install ppp @@ -129,12 +116,6 @@ if ! (grep -q 'route' /etc/ppp/ip-up ); then echo "sudo route add default ppp0" >> /etc/ppp/ip-up fi -if [ $shield_hat -eq 2 ]; then - if ! (grep -q 'max_usb_current' /boot/config.txt ); then - echo "max_usb_current=1" >> /boot/config.txt - fi -fi - while [ 1 ] do echo "${YELLOW}Do you want to activate auto connect/reconnect service at R.Pi boot up? [Y/n] ${SET}"