/[smecontribs]/rpms/smeserver-loginscript/contribs10/jblogon.4.patch
ViewVC logotype

Annotation of /rpms/smeserver-loginscript/contribs10/jblogon.4.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Aug 24 05:01:29 2022 UTC (2 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-loginscript-0_2-9, smeserver-loginscript-0_2-8, HEAD
Initial import

1 jpp 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-loginscript-0.2/createlinks mezzanine_patched_e-smith-loginscript-0.2/createlinks
2     --- e-smith-loginscript-0.2/createlinks 2001-09-27 19:26:26.000000000 -0500
3     +++ mezzanine_patched_e-smith-loginscript-0.2/createlinks 2006-05-08 22:43:25.000000000 -0500
4     @@ -3,6 +3,18 @@
5     # Specific support exists to create symlinks within e-smith web "panels"
6     # and for links from named "events" directories into the "actions" directory
7    
8     +use esmith::Build::CreateLinks qw(:all);
9     +
10     +my $panel = "manager";
11     +panel_link("loginscript", $panel);
12     +
13     +foreach (qw(samba/smb.conf))
14     +{
15     + templates2events("/etc/$_", qw(
16     + conf-logondrive
17     + ));
18     +}
19     +
20     sub panel_link
21     {
22     my ($function, $panel) = @_;
23     @@ -37,7 +49,8 @@
24     #--------------------------------------------------
25     $event = "conf-logondrive";
26    
27     -event_link("conf-samba", $event, "25");
28     -event_link("reload-samba", $event, "50");
29     +safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/smbd");
30     +#event_link("conf-samba", $event, "25");
31     +#event_link("reload-samba", $event, "50");
32     event_link("conf-loginscript", $event, "75");
33    
34     diff -Nur -x '*.orig' -x '*.rej' e-smith-loginscript-0.2/root/etc/e-smith/web/panels/manager/html/loginscriptexample.html mezzanine_patched_e-smith-loginscript-0.2/root/etc/e-smith/web/panels/manager/html/loginscriptexample.html
35     --- e-smith-loginscript-0.2/root/etc/e-smith/web/panels/manager/html/loginscriptexample.html 2006-05-08 22:43:44.000000000 -0500
36     +++ mezzanine_patched_e-smith-loginscript-0.2/root/etc/e-smith/web/panels/manager/html/loginscriptexample.html 2006-05-08 22:09:23.000000000 -0500
37     @@ -11,7 +11,7 @@
38    
39     <BR CLEAR="ALL">
40    
41     -<DIV STYLE="position: absolute; visibility: inherit; top: 170px; left: 56px; width: 85%; z-index: 2">
42     +<DIV STYLE="position: absolute; visibility: inherit; top: 50px; left: 56px; width: 85%; z-index: 2">
43     <FONT FACE="Helvetica,Arial">
44    
45     <H2>Example Login Script</H2>

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