Commit 605221af authored by Mike Hibler's avatar Mike Hibler

Fix comparisons involving NTPSERVER.

parent 15ee217f
......@@ -24,13 +24,13 @@ sub Install($$$)
}
# XXX toss in "ntp1" for the benefit of boss which starts ntp before named
if ($USERNODE_IP eq $NTPSERVER) {
if ($NTPSERVER eq "ops") {
$ops_string .= " ntp1";
}
elsif ($BOSSNODE_IP eq $NTPSERVER) {
elsif ($NTPSERVER eq "boss") {
$boss_string .= " ntp1";
}
elsif (defined($fs_string) && $FSNODE_IP eq $NTPSERVER) {
elsif (defined($fs_string) && $NTPSERVER eq "fs") {
$fs_string .= " ntp1";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment