Changeset 923 in genesis for tools/wleiden.pl


Ignore:
Timestamp:
Sep 14, 2003, 10:54:01 PM (21 years ago)
Author:
dirkx
Message:

Clarify resolv.conf a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/wleiden.pl

    r922 r923  
    1818$OSPFPWD='huppel';
    1919$separator=';';
    20 $author='feb 2003 jasper\@WirelessLeiden.NL';
     20$author='feb 2003 jasper@WirelessLeiden.NL';
    2121$wicontrol='/usr/sbin/wicontrol';
    2222
     
    786786
    787787$rcconf.=sprintf <<EORC1;
    788 # This file now contains just the overrides from /etc/defaults/rc.conf.
    789 # Please make all changes to this file, not to /etc/defaults/rc.conf.
    790 # rc.conf
     788# This file is read by /etc/rc.conf - and specific to wireless
     789# leiden. Please make all changes in Genesis.
    791790#
    792791# Generated by $source
     
    798797
    799798hostname="$hostname.wLeiden.NET"
     799location="$location"
    800800
    801801#ifconfig_lo0_alias0="inet $master_ip/32"
    802 
    803802EORC1
    804803
     
    818817search wleiden.net .
    819818
     819# Local machine / own nameserver.
    820820nameserver 127.0.0.1
    821821EOR1
     
    828828        foreach $ns (split(/[\s$separator]+/,$OSPF_NEIGHBORS{$if})) {
    829829                next unless $ns =~  m/\d+/;
    830                 $resolv.="nameserver $ns\n";
     830                $resolv.="# Nameserver on adjacent node - $SDESC{$if} via $if\nnameserver $ns\n";
    831831        };
    832832};
Note: See TracChangeset for help on using the changeset viewer.