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

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

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


Revision 1.1 - (hide annotations) (download)
Thu Sep 4 13:56:36 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-coova-chilli-0_2-3_el4_sme, smeserver-coova-chilli-0_2-5_el4_sme, smeserver-coova-chilli-0_2-2_el4_sme, smeserver-coova-chilli-0_2-6_el4_sme
Import of smeserver-coova-chilli-0.2-2.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestDownLink mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestDownLink
2     --- smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestDownLink 1970-01-01 01:00:00.000000000 +0100
3     +++ mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestDownLink 2008-09-02 17:58:37.000000000 +0200
4     @@ -0,0 +1 @@
5     +400
6     diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestUpLink mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestUpLink
7     --- smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestUpLink 1970-01-01 01:00:00.000000000 +0100
8     +++ mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/db/configuration/defaults/chilli/guestUpLink 2008-09-02 17:58:46.000000000 +0200
9     @@ -0,0 +1 @@
10     +64
11     diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/raddb/users/40chilli mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/raddb/users/40chilli
12     --- smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/raddb/users/40chilli 2008-09-02 13:28:01.000000000 +0200
13     +++ mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/raddb/users/40chilli 2008-09-02 18:01:44.000000000 +0200
14     @@ -2,14 +2,18 @@
15    
16     if ((($chilli{'status'} || 'disabled) eq 'enabled') &&
17     ($chilli{'guestAccess'} || disabled) eq 'enabled'){
18     + my $downlink = $chilli{'guestDownLink'} || '400';
19     + my $uplink = $chilli{'guestUpLink'} || '64';
20     + $downlink = $downlink * 1000;
21     + $uplink = $uplink * 1000;
22     $OUT =<<END;
23    
24     guest NAS-Identify == "chilli", Auth-Type: = Local User-Password == 'guest'
25     - WISPr-Bandwidth-Max-Down = 400000, WISPr-Bandwidth-Max-Up = 64000
26     + WISPr-Bandwidth-Max-Down = $downlink, WISPr-Bandwidth-Max-Up = $uplink
27    
28     END
29    
30     -if ($chilli{'status'} eq 'enabled'){
31     +if (($chilli{'status'} || 'disabled') eq 'enabled'){
32     $OUT =<<END;
33    
34     DEFAULT Group == "chilli", NAS-Identifier == "chilli", Auth-Type := unix

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