/[smecontribs]/rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli-0.2-guest_access2.patch
ViewVC logotype

Annotation of /rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli-0.2-guest_access2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:19 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-coova-chilli-0_2-14_el4_sme, smeserver-coova-chilli-0_2-7_el4_sme, smeserver-coova-chilli-0_2-17_el4_sme, smeserver-coova-chilli-0_2-10_el4_sme, smeserver-coova-chilli-0_2-16_el4_sme, smeserver-coova-chilli-0_2-13_el4_sme, smeserver-coova-chilli-0_2-19_el4_sme, smeserver-coova-chilli-0_2-12_el4_sme, smeserver-coova-chilli-0_2-18_el4_sme, smeserver-coova-chilli-0_2-8_el4_sme, smeserver-coova-chilli-0_2-9_el4_sme, smeserver-coova-chilli-0_2-20_el4_sme, smeserver-coova-chilli-0_2-15_el4_sme, HEAD
Changes since 1.2: +0 -0 lines
Restore

1 vip-ire 1.1 --- smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/raddb/users/40chilli.guest_access2 2008-09-05 12:26:24.000000000 +0200
2     +++ smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/raddb/users/40chilli 2008-09-05 12:33:07.000000000 +0200
3     @@ -1,23 +1,23 @@
4     {
5    
6     -if ((($chilli{'status'} || 'disabled) eq 'enabled') &&
7     - ($chilli{'guestAccess'} || disabled) eq 'enabled'){
8     - my $downlink = $chilli{'guestDownLink'} || '400';
9     - my $uplink = $chilli{'guestUpLink'} || '64';
10     - $downlink = $downlink * 1000;
11     - $uplink = $uplink * 1000;
12     - $OUT =<<END;
13     +if ((($chilli{'status'} || 'disabled') eq 'enabled') &&
14     + ($chilli{'guestAccess'} || 'disabled') eq 'enabled'){
15     + my $downlink = $chilli{'guestDownLink'} || '400';
16     + my $uplink = $chilli{'guestUpLink'} || '64';
17     + $downlink = $downlink * 1000;
18     + $uplink = $uplink * 1000;
19     + $OUT =<<"END";
20    
21     -guest NAS-Identify == "chilli", Auth-Type: = Local User-Password == 'guest'
22     +guest NAS-Identifier == "chilli", Auth-Type := Local, User-Password == 'guest'
23     WISPr-Bandwidth-Max-Down = $downlink, WISPr-Bandwidth-Max-Up = $uplink
24     -
25     END
26     +}
27    
28     if (($chilli{'status'} || 'disabled') eq 'enabled'){
29     - $OUT =<<END;
30     + $OUT .=<<END;
31    
32     DEFAULT Group == "chilli", NAS-Identifier == "chilli", Auth-Type := unix
33     -# WISPr-Bandwidth-Max-Down = 512000, WISPr-Bandwidth-Max-Up = 128000
34     +# WISPr-Bandwidth-Max-Down = 512000, WISPr-Bandwidth-Max-Up = 128000
35    
36     DEFAULT Group != "chilli", NAS-Identifier == "chilli", Auth-Type := Reject
37     Reply-Message = "Your are not member of the allowed group"
38     @@ -26,3 +26,4 @@
39     }
40     }
41    
42     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed