Changeset 4084 in genesis


Ignore:
Timestamp:
Mar 16, 2005, 11:01:30 PM (20 years ago)
Author:
rick
Message:

Bug config fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/wleiden.pl

    r4081 r4084  
    1414#variablen
    1515my $time=gmtime();
    16 my $source=`/bin/hostname -s`;
     16my $source=`/bin/hostname`;
    1717chomp($source);
    1818
     
    6969  my $output = genHeader("#");
    7070  $output .=
    71   "option domain-name \"wLeiden.NET\"\n" .
     71  "option domain-name \"wLeiden.NET\";\n" .
    7272  " \n" .
    7373  "default-lease-time 7200;\n" .
     
    152152    "zone \"$tmpZone\" {\n" .
    153153    "  type slave\;\n" .
    154     "  file \"slave/slave-$tmpZone\"\;\n" .
     154    "  file \"slave-$tmpZone\"\;\n" .
    155155    "  masters {\n";
    156156    foreach my $tmpIP (sort @$dnsZone) {
     
    201201    (my $if, my $number) = split(/:/, $interface);
    202202      if( defined $number ) {
    203         $output .= "ifconfig_$if\_alias$number=\"$IP{$interface}\"\n";
     203        $output .= "ifconfig_$if\_alias$number=\"inet $IP{$interface}\"\n";
    204204      }
    205205      else {
    206         $output .= "ifconfig_$if=\"$IP{$interface}\"\n";
     206        $output .= "ifconfig_$if=\"inet $IP{$interface}\"\n";
    207207      };
    208208  };
Note: See TracChangeset for help on using the changeset viewer.