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

Contents 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.3 - (show annotations) (download)
Tue Nov 25 16:20:19 2008 UTC (16 years 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 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