#! /bin/sh prefix=/etc/ppp/options. echo "John's ppp script" echo echo "Please select a location" cd /etc/ppp ls options.* | sort echo -n ": " read location if [ -f $prefix$location ] ; then echo "using $prefix$location" echo -n "User name: " read username echo -n "Password: " stty -echo read password > /dev/null stty echo echo "Starting ppp..." /usr/sbin/pppd file "$prefix$location" user $username authpass << END $password END else echo The file $prefix$location could not be found fi