jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [trunk/] [modules/] [crusader/] [platform/] [common.pm] - Blame information for rev 11

 

Line No. Rev Author Line
111simandlpackage HotSaNICmod::common;
2 
3sub configure {
4 my $num=0;
5 foreach (@_) {
6 ($var,$value)=HotSaNICparser::parse_line($_);
7 if ($var eq "IWCONFIG") { $MODARGS{IWCONFIG}=$value; }
8 if ($var eq "IWLIST") { $MODARGS{IWLIST}=$value; }
9 if ($var eq "HOSTAP") { $MODARGS{HOSTAP}=$value; }
10 if ($var eq "IFACE") {
11 my ($device,$descr)=split(/,/,$value);
12 $MODARGS{"IFACE:$device"}=$descr;
13 }
14 if ($var eq "MAC") {
15 my ($dev,$mac,$macdescr)=split(/,/,$value);
16 $MODARGS{"MAC,$dev,$mac"}=$macdescr;
17 }
18 }
19 return %MODARGS;
20}
211;

Powered by WebSVN 2.2.1