# Preferences for idle-hangup (version 0.20)

# Usable modem pools, in order of preference
#  (see http://gs213.sp.cs.cmu.edu/cgi-bin/dialups
#   for a list of currently known pools.)
@pools = ("28.8", "28.8-A", "14.4");

# if this doesn't find dip, you'll want to set it explicitly.
$dip_cmd = (-e "/sbin/dip" ? "/sbin/dip" : 
	   (-e "/usr/sbin/dip" ? "/usr/sbin/dip" :
           "dip"));

# commands for connecting (make sure there's one for each of the pools above)
#  621-3546
$connect_cmd{"14.4"} = "$dip_cmd /usr/local/etc/dialup.dip.144";
#  683-0111
$connect_cmd{"28.8"} = "$dip_cmd /usr/local/etc/dialup.dip.288";
#  temporary pool at 621-3528 (will eventually be merged
#  into the main pool at 683-0111).
$connect_cmd{"28.8-A"} = "$dip_cmd /usr/local/etc/dialup.dip.288-A";

# command for disconnecting
$disconnect_cmd = "/sbin/dip -k";

# If you log into the terminal server with your kerberos id rather than
# your hostname, uncomment this line and insert your kerberos id.
# $ts_user = "bovik";

# If you don't want to be registered as an rpp-dial user, uncomment this.
# $register = 0;

# Uncomment this to disable automatic pool-switching.
# $option{"auto-switch"} = 0;

# Uncomment this to disable automatic disconnecting.
# $option{"auto-disconnect"} = 0;

# Uncomment this to disable automatic redial on unexpected disconnect.
# $option{"auto-redial"} = 0;

# maximum number of times to try auto-redial per day
# $max_redials_per_day = 10;

### Probably no need to edit the settings below ###

# number of seconds of warning you get before being disconnected or switched
# to another pool (default 30)
# $warning_time = 30;

# number of seconds between successive pool-status checks (default 300)
# $check_interval = 300;		# five minutes

# probably no need to change this unless it gets moved to another server
# $status_url = "http://gs213.sp.cs.cmu.edu/cgi-bin/dialups";

# POLICY -- I suggest trying out the defaults first.  Things will work 
#           better if everyone uses them.

# If this is set, the thresholds below will be used instead of 
# the suggested policy (see the status URL above for the current 
# suggested policy).  
#  $policy_override = 1;
#
# @{$thresholds{"14.4"}} = (2,  1,   # idle two minutes, <1 line free
#                           5,  2,   # idle five minutes, <2 lines free
#                           10, 3,      # idle ten minutes, <3 lines free
#                           30, 5,      # idle half hour, <5 lines free
#                           60, 7       # idle one hour, <7 lines free
#                           );
# @{$thresholds{"28.8"}} = (2,  1,   # idle two minutes, <1 line free
#                           5,  2,   # idle five minutes, <2 lines free
#                           10, 3,      # idle ten minutes, <3 lines free
#                           30, 5,      # idle half hour, <5 lines free
#                           60, 7       # idle one hour, <7 lines free
#                           );
# @{$thresholds{"28.8-A"}} = (2,  1,   # idle two minutes, <1 line free
#                           5,  2,   # idle five minutes, <2 lines free
#                           10, 3,      # idle ten minutes, <3 lines free
#                           30, 5,      # idle half hour, <5 lines free
#                           60, 7       # idle one hour, <7 lines free
#                           );
