Changeset 8261 in genesis for nodes/CNodeROCl/wleiden.conf


Ignore:
Timestamp:
Aug 8, 2010, 12:14:27 PM (14 years ago)
Author:
rick
Message:
  • Commented variables are kind of useless as no program will be able to parse them. So made them 'active'
  • The text behind the $config proves to be a more usefull description than the normal DESC field, pushed them into a variable called COMMENT so we can finally start using them.
  • Commented code is in general bad stuff with a revision control system as it clutters the view, made the non active interface just 'idle' active.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • nodes/CNodeROCl/wleiden.conf

    r7660 r8261  
    1818$Y='462243';
    1919
    20 $config{'ep0'}=sprintf <<ED0;  # Ethernet
     20$config{'ep0'}=sprintf <<ED0;
     21COMMENT=Ethernet
    2122TYPE=ethernet
    2223IP=172.21.1.65/28
     
    3233
    3334
    34 $config{'wi0'}=sprintf <<EW0;  # omni
     35$config{'wi0'}=sprintf <<EW0;
     36COMMENT=omni
    3537TYPE=wireless
    3638IP=$master_ip/26
     
    4951EW0
    5052
    51 $config{'wi1'}=sprintf <<EW1;  # link naar Marten
     53$config{'wi1'}=sprintf <<EW1;
     54COMMENT=link naar Marten
    5255TYPE=wireless
    5356IP=172.16.0.157/30
     
    6770
    6871
    69 $config{'wi1:0'}=sprintf <<EW10;  # link naar JVC
     72$config{'wi1:0'}=sprintf <<EW10;
     73COMMENT=link naar JVC
    7074TYPE=wireless
    7175IP=172.16.0.233/30
     
    8892EW11
    8993
    90 $config{'wi2'}=sprintf <<EW2;  # link naar Grip
     94$config{'wi2'}=sprintf <<EW2;
     95COMMENT=link naar Grip
    9196TYPE=wireless
    9297IP=172.16.0.253/30
     
    106111
    107112
    108 $config{'wi2:0'}=sprintf <<EW20;  # link naar Jasper
     113$config{'wi2:0'}=sprintf <<EW20;
     114COMMENT=link naar Jasper
    109115TYPE=wireless
    110116IP=172.16.0.153/30
     
    117123
    118124
    119 #$config{'wi2:1'}=sprintf <<EW21;  # link naar Zijloever
    120 #TYPE=wireless
    121 #IP=172.16.1.65/30
    122 #DESC=Link naar Zijloever
    123 #SDESC=2zijloever
     125$config{'wi2:1'}=sprintf <<EW21; 
     126COMMENT=link naar Zijloever
     127TYPE=wireless
     128IP=172.16.1.65/30
     129DESC=Link naar Zijloever
     130SDESC=2zijloever
    124131#
    125132#
    126 #DHCP=no
     133DHCP=no
    127134#
    128 #EW21
     135EW21
    129136
    130137
    131 $config{'wi3'}=sprintf <<EW3; # link naar haagwijk
     138$config{'wi3'}=sprintf <<EW3;
     139COMMENT=link naar haagwijk
    132140TYPE=wireless
    133141IP=172.16.3.90/30
     
    139147ESSID=il-z.haagwijk.wleiden.net
    140148
    141 #CHANNEL=11
     149CHANNEL=11
    142150
    143151
Note: See TracChangeset for help on using the changeset viewer.