Changeset 8273 in genesis for nodes/genesis-to-yaml.pl
- Timestamp:
- Aug 8, 2010, 7:55:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/genesis-to-yaml.pl
r8270 r8273 78 78 %tmp = ( 79 79 'dhcp' => 'False', 80 'compass _direction' => 'None',80 'compass' => 'None', 81 81 'interface' => $if, 82 82 ); … … 94 94 } elsif ($key =~ /^mode$/i) { 95 95 if ($value eq 'master') { 96 $value = ' ms';96 $value = 'ap-wds'; 97 97 } else { # managed 98 $value = ' mn';98 $value = 'station-wds'; 99 99 } 100 100 } elsif ($key =~ /^polar$/i) { … … 118 118 $direction = 'None'; 119 119 } 120 $tmp{'compass _direction'} = $direction;120 $tmp{'compass'} = $direction; 121 121 } elsif ($key =~ /^gain$/i) { 122 122 $value =~ s/dbi//; … … 127 127 # ethernet2wifi bridges 128 128 if ( $tmp{extra_type} eq 'eth2wifibridge' ) { 129 $tmp{type} = ' 11b';129 $tmp{type} = 'eth'; 130 130 } 131 131 # 11a
Note:
See TracChangeset
for help on using the changeset viewer.