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 |
|
|
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 |
+ |
+ |