home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / sbin / pppconnect < prev    next >
Encoding:
Text File  |  2003-09-25  |  687 b   |  25 lines

  1. #!/bin/sh
  2.  
  3. if [ ! -e /etc/modemdevice ];then
  4.  echo "You have not setup your Internet connection yet"
  5.  echo "1. First, run \"Modem Wizard\" to choose a modem"
  6.  echo "2. Second, run \"Setup PPP Dialup\" to configure PPP"
  7.  echo "3. ...come back here!"
  8.  echo " "
  9.  echo -n "Press ENTER key to continue..."
  10.  read VAL1
  11. else
  12.  #/usr/sbin/ppp -c
  13.  #sleep 10
  14.  #now using gkdial...
  15.  exec /usr/sbin/gkdial
  16. fi
  17. #echo -n "Press ENTER key to continue..."
  18. #read VAL1
  19.  
  20. # have created a fvwm button (right side of screen) that waits
  21. # for a window named "Blinky" and will swallow it...
  22. #blinky -u 500 ppp0 &
  23. # ...displays 2 modem leds, just like Windows.
  24. # ...no, this isn't the right place to start Blinky.
  25.