diff -Nur -x '*.orig' -x '*.rej' e-smith-loginscript-0.2/createlinks mezzanine_patched_e-smith-loginscript-0.2/createlinks --- e-smith-loginscript-0.2/createlinks 2001-09-27 19:26:26.000000000 -0500 +++ mezzanine_patched_e-smith-loginscript-0.2/createlinks 2006-05-08 22:43:25.000000000 -0500 @@ -3,6 +3,18 @@ # Specific support exists to create symlinks within e-smith web "panels" # and for links from named "events" directories into the "actions" directory +use esmith::Build::CreateLinks qw(:all); + +my $panel = "manager"; +panel_link("loginscript", $panel); + +foreach (qw(samba/smb.conf)) +{ + templates2events("/etc/$_", qw( + conf-logondrive + )); +} + sub panel_link { my ($function, $panel) = @_; @@ -37,7 +49,8 @@ #-------------------------------------------------- $event = "conf-logondrive"; -event_link("conf-samba", $event, "25"); -event_link("reload-samba", $event, "50"); +safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/smbd"); +#event_link("conf-samba", $event, "25"); +#event_link("reload-samba", $event, "50"); event_link("conf-loginscript", $event, "75"); 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 --- e-smith-loginscript-0.2/root/etc/e-smith/web/panels/manager/html/loginscriptexample.html 2006-05-08 22:43:44.000000000 -0500 +++ 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 @@ -11,7 +11,7 @@
-
+

Example Login Script