Lines Matching refs:options

20 #	- read in current /etc/ppp/options configuration file
54 local($options) = $pppdir . "options";
55 local($ttyprefix) = $pppdir . "options.";
378 # required options, and save in the hash to be returned.
381 local($paths, $options, $defref) = @_;
384 return if $options == $defref;
386 $$options{$key} = $$defref{$key} unless defined($$options{$key});
388 $peer = $$options{"peer_system_name"};
391 $intf = $$options{"interface"};
398 if $intf =~ /^ipd[0-9]+$/ && !defined($$options{"peer_ip_address"});
401 warn "Odd version number ", $$options{"version"},
403 if defined($$options{"version"}) && $$options{"version"} != 1;
404 $paths{$peer} = $options;
440 local($options);
447 $options = \%defaults;
465 savepath(\%paths, $options, \%defaults);
466 $options = \%defaults;
471 savepath(\%paths, $options, \%defaults);
472 $options = \%pathopts;
484 if $options != \%defaults && defined($$options{$_});
485 $$options{$_} = 1 if $i == 0;
488 $$options{$_} = $word if $i == 1;
490 undef $$options{$_}, next if $word =~ /^off$/;
491 $$options{$_} = $word;
494 $$options{$_} .= " " . $word;
504 savepath(\%paths, $options, \%defaults);
579 # Convert a hash of aspppd options into an array of pppd options. The
707 # Translate options for a dial-in user.
977 if (open(OPTIONS,"<" . $options)) {
978 while (@{$words = uucpline(OPTIONS, $options)}) {
1019 # 0 - no info (no options file, "noauth" on call)
1020 # 1 - all auth ("auth" in options, "noauth" on call)
1021 # 2 - all noauth ("noauth" in options)
1022 # 3 - mixed; use auth ("noauth" in options, wrapper script for "auth")
1247 # Create an /etc/ppp/options if we need to.
1253 $optfiles{$options} = \@pppdopts;
1262 # Change "auth" to "noauth" or add "noauth" to /etc/ppp/options.
1266 warn "Adding 'noauth' to $options\n";
1268 warn "Changing 'auth' in $options to 'noauth'\n";
1270 open(OPTIONS,"<" . $options) || die "$options disappeared: $!\n";
1271 while (@{$words = uucpline(OPTIONS, $options, \@triplet)}) {
1288 $optfiles{$options} = $cstr;