#
#  tkppp v1.3 Initialization File
#
# Put this in your home directory as
#     ~/.tkppprc
#

##############################################################
#                   Configurable Parameters                  #
##############################################################
#
# These are the PPP on/off scripts
#
set ppp_on          /usr/local/bin/ppp-on
set ppp_off         /usr/local/bin/ppp-off

# This set the duration (in seconds) after a PPP command
# that we will check the status of the link every second.
# This should be a little longer than the maximum time
# needed to connect and bring up the link.
#
set wait_interval   60

# How often to check the status of the PPP link (in seconds),
# after wait_interval. 
#
set check_interval  10

# Set this to 1 if you want tkppp to mimimize when the PPP
# link goes up.
#
set auto_minimize    1

# Set this to 1 if you want tkppp to maximize when the PPP
# link goes down.
#
set auto_maximize    1

# Set this to 1 if you want tkppp to show the PPP remote
# host's IP name (using nslookup) rather than its address.
#
set show_hostname    0

# Set this to 1 if you want tkppp to ping the host periodically
# to keep the session from timing out for no activity.
#
set auto_ping        1

# How often to ping.  ** Leave this at some nonzero interval **.
# Set auto_ping to 0 to disable the ping feature.
#
set ping_interval    60

# The ping command to execute when auto-pinging.
#
set ping_command     {ping -c 1 $ipaddr >& /dev/null}

##############################################################
#      Your optional networking scripts or programs          #
##############################################################
#
# The format is:
#    addscript <label> <tcl-command>
#
addscript "Get Mail"   {exec getmail &}
addscript "Get WX"     {exec getwx &}

