/[smecontribs]/rpms/smeserver-lazy_admin_tools/contribs8/smeserver-lazy_admin_tools-1.0-patch4.patch
ViewVC logotype

Annotation of /rpms/smeserver-lazy_admin_tools/contribs8/smeserver-lazy_admin_tools-1.0-patch4.patch

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


Revision 1.2 - (hide annotations) (download)
Tue Jun 25 15:04:34 2013 UTC (10 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_0-8_el5_sme, smeserver-lazy_admin_tools-1_1-1_el5_sme, smeserver-lazy_admin_tools-1_0-9_el5_sme, smeserver-lazy_admin_tools-1_0-7_el5_sme
Changes since 1.1: +0 -32 lines
* Tue Jun 25 2013  JP PIALASSE tests@pialasse.com  1.0-7.sme
- updated patch4 and applied this time

1 unnilennium 1.1 diff -up smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp.patch4 smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp
2     --- smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp.patch4 2012-05-26 19:04:35.000000000 -0400
3     +++ smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-pptp 2013-06-24 20:25:45.000000000 -0400
4     @@ -84,6 +84,19 @@ foreach my $record (@records)
5     or die ("An error occurred while updating account '$username'.\n");
6     last SWITCH;
7     };
8     + ($MVer=="8") && do {
9     + db_set_prop(\%accounts, $username, 'VPNClientAccess', "no");
10     + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
11     + or die ("An error occurred while updating account '$username'.\n");
12     + last SWITCH;
13     + };
14     + ($MVer=="9") && do {
15     + db_set_prop(\%accounts, $username, 'VPNClientAccess', "no");
16     + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
17     + or die ("An error occurred while updating account '$username'.\n");
18     + last SWITCH;
19     + };
20     +
21     }
22     }
23     # Activate PPTP
24     @@ -108,6 +121,19 @@ foreach my $record (@records)
25     or die ("An error occurred while updating account '$username'.\n");
26     last SWITCH;
27     };
28     + ($MVer=="8") && do {
29     + db_set_prop(\%accounts, $username, 'VPNClientAccess', "yes");
30     + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
31     + or die ("An error occurred while updating account '$username'.\n");
32     + last SWITCH;
33     + };
34     + ($MVer=="9") && do {
35     + db_set_prop(\%accounts, $username, 'VPNClientAccess', "yes");
36     + system("/sbin/e-smith/signal-event", "remoteaccess-update", $username) == 0
37     + or die ("An error occurred while updating account '$username'.\n");
38     + last SWITCH;
39     + };
40     +
41     }
42     }
43     else { print "Unknown argument '$fields[1]' for user $username"; }

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