version 1.410, 2009/01/02 23:07:45
|
version 1.411, 2009/02/10 11:31:26
|
Line 562 sub InstallFile {
|
Line 562 sub InstallFile {
|
|
|
# |
# |
# ConfigFileFromSelector: converts a configuration file selector |
# ConfigFileFromSelector: converts a configuration file selector |
# (one of host or domain at this point) into a |
# into a configuration file pathname. |
# configuration file pathname. |
# It's probably no longer necessary to preserve |
|
# special handling of hosts or domain as those |
|
# files have been superceded by dns_hosts, dns_domain. |
|
# The default action is just to prepend the directory |
|
# and append .tab |
|
# |
# |
# |
# Parameters: |
# Parameters: |
# selector - Configuration file selector. |
# selector - Configuration file selector. |
Line 580 sub ConfigFileFromSelector {
|
Line 585 sub ConfigFileFromSelector {
|
} elsif ($selector eq "domain") { |
} elsif ($selector eq "domain") { |
$tablefile = $tabledir."domain.tab"; |
$tablefile = $tabledir."domain.tab"; |
} else { |
} else { |
return undef; |
$tablefile = $tabledir.$selector.'.tab'; |
} |
} |
return $tablefile; |
return $tablefile; |
|
|