Changeset 6474 in genesis for nodes/genesis-to-py.pl
- Timestamp:
- Dec 21, 2008, 2:23:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/genesis-to-py.pl
r6463 r6474 48 48 'configtype' => 'interface', 49 49 'dhcp' => 'no', 50 'polar' => 'ver',51 'type' => '11b',52 'antenna' => 'omni',53 'essid' => 'essid-unused',54 50 ); 55 51 foreach $line (split('\n',$config{$if})) { … … 70 66 $value = 'mn'; 71 67 } 68 } elsif ($key =~ /^polar$/i) { 69 if ($value eq 'hor') { 70 $value = 'hr'; 71 } else { 72 $value = 'vr'; 73 } 74 } elsif ($key =~ /^essid$/i) { 75 $key = 'ssid'; 76 } elsif ($key =~ /^gain$/i) { 77 $value =~ s/dbi//; 72 78 } 73 79 $tmp{lc($key)} = $value;
Note:
See TracChangeset
for help on using the changeset viewer.