Changeset 8957 in genesis for config/iris/node/FreeBSD/8.0-RELEASE


Ignore:
Timestamp:
Mar 15, 2011, 8:42:37 AM (14 years ago)
Author:
rick
Message:

I need to have the CAPTIVE_PORTAL_WHITELIST addresses to be rc.conf.local
before I can put them in the static firewall configuration of /etc/ipfw.sh .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config/iris/node/FreeBSD/8.0-RELEASE/wleiden.pl

    r8955 r8957  
    271271  $output .= "ipv4_addrs_lo0=\"127.0.0.1/8 $iplist\"\n";
    272272
     273  @whitelist = ();
    273274  $WLAN_NR = 0;
    274275  foreach my $interface (sort keys %config) {
     
    299300            $output .= " channel $CHANNEL{$interface}";
    300301          }
     302          if ( $CAPTIVE_PORTAL_WHITELIST{$if} ) {
     303            push(@whitelist, $CAPTIVE_PORTAL_WHITELIST{$if});
     304          }
    301305          $output .= "\"\n";
    302306        }
     
    313317      };
    314318  };
     319  $output .= "\ncaptive_portal_whitelist=\"" .join(' ',@whitelist) . "\"\n";
    315320  return($output);
    316321};
Note: See TracChangeset for help on using the changeset viewer.