 #!/bin/bash                                                                                                                                                                            
  # Use sudo only if not already root                                                                                                                                                    
  [ "$(id -u)" -ne 0 ] && SUDO="sudo" || SUDO=""                                                                                                                                         
                                                                                                                                                                                         
    $SUDO mkdir -p /usr/local/src/ax25                                                                                                                                                   
    cd /usr/local/src/ax25                                  
  # Remove "old" updAX25 scripts                                                                                                                                                         
    $SUDO rm -f updAX25* updAX25*.*                         
  # Download last updAX25 scripts                                                                                                                                                        
    $SUDO wget -q f6bvp.org/updAX25-0.sh                                                                                                                                                 
    $SUDO wget -q f6bvp.org/updAX25.sh                                                                                                                                                   
    $SUDO wget -q f6bvp.org/updAX25                                                                                                                                                      
  #                                                         
    $SUDO chmod 775 updAX25.sh updAX25-0.sh updAX25                                                                                                                                      
  #                                                         
    exec ./updAX25                                                                                                                                                                       
  #                                                                                                                                                                                      
   
