- Timestamp:
- Feb 23, 2005, 1:23:40 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/wleiden.pl
r3804 r3897 22 22 23 23 if ($functions_only) {goto functions;} 24 chomp($source = `pwd`);24 $source='/etc/wl/wleiden.pl'; 25 25 26 26 do($config) || die; … … 793 793 EOM 794 794 795 $master_ip_on_alias="ifconfig_lo0_alias0=\"inet $master_ip/32\""; 796 foreach my $if (keys %config) { 797 if( $IP{$if} =~ /([0-9\.]+).*/ ) { 798 if( $1 eq $master_ip ) { 799 $master_ip_on_alias="#ifconfig_lo0_alias0=\"inet $master_ip/32\""; 800 break; 801 }; 802 }; 803 }; 804 805 795 806 $rcconf.=sprintf <<EORC1; 796 807 # This file is read by /etc/rc.conf - and specific to wireless … … 807 818 location="$location" 808 819 809 #ifconfig_lo0_alias0="inet $master_ip/32" 820 $master_ip_on_alias 810 821 ifconfig_lo0_alias0="inet 172.31.255.1/32" 811 822 EORC1
Note:
See TracChangeset
for help on using the changeset viewer.