/[smecontribs]/rpms/smeserver-loginscript/contribs10/smeserver-loginscript-0.2-sme10.patch
ViewVC logotype

Diff of /rpms/smeserver-loginscript/contribs10/smeserver-loginscript-0.2-sme10.patch

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

Revision 1.1 by jpp, Wed Aug 24 05:41:05 2022 UTC Revision 1.2 by jpp, Wed Aug 24 05:48:54 2022 UTC
# Line 1  Line 1 
1  diff -Nur --no-dereference smeserver-loginscript-0.2.old/createlinks smeserver-loginscript-0.2/createlinks  diff -Nur --no-dereference smeserver-loginscript-0.2.old/createlinks smeserver-loginscript-0.2/createlinks
2  --- smeserver-loginscript-0.2.old/createlinks   2022-08-24 01:35:47.328000000 -0400  --- smeserver-loginscript-0.2.old/createlinks   2022-08-24 01:35:47.328000000 -0400
3  +++ smeserver-loginscript-0.2/createlinks       2022-08-24 01:38:30.743000000 -0400  +++ smeserver-loginscript-0.2/createlinks       2022-08-24 01:44:52.835000000 -0400
4  @@ -15,27 +15,6 @@  @@ -15,34 +15,6 @@
5           ));           ));
6   }   }
7    
# Line 26  diff -Nur --no-dereference smeserver-log Line 26  diff -Nur --no-dereference smeserver-log
26  -    or die "Can't symlink to " .  -    or die "Can't symlink to " .
27  -       "root/etc/e-smith/events/${event}/S${level}${action}: $!";  -       "root/etc/e-smith/events/${event}/S${level}${action}: $!";
28  -}  -}
29    -
30    -#--------------------------------------------------
31    -# functions for manager panel
32    -#--------------------------------------------------
33    -my $panel = "manager";
34    -
35    -panel_link("loginscript", $panel);
36    
37   #--------------------------------------------------   #--------------------------------------------------
38   # functions for manager panel   # actions for conf-logondrive event:
39  @@ -54,3 +33,8 @@  @@ -54,3 +26,8 @@
40   #event_link("reload-samba", $event, "50");   #event_link("reload-samba", $event, "50");
41   event_link("conf-loginscript", $event, "75");   event_link("conf-loginscript", $event, "75");
42    
43  +$event="smeserver-loginscript-update";  +$event="smeserver-loginscript-update";
44  +safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/smbd");  +safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/smbd");
45  +templates2events("/etc/smb.conf",$event)  +templates2events("/etc/smb.conf",$event);
46  +event_link("conf-loginscript", $event, "75");  +event_link("conf-loginscript", $event, "75");
47  +  +


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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