diff -urN smeserver-motd-0.1.old/createlinks smeserver-motd-0.1/createlinks --- smeserver-motd-0.1.old/createlinks 2021-03-25 08:59:32.800181252 +0000 +++ smeserver-motd-0.1/createlinks 2021-03-25 10:36:42.373618285 +0000 @@ -8,7 +8,8 @@ foreach my $file (qw( /etc/systemd/system-preset/49-koozali.preset /etc/profile.d/motd.sh -)) + /etc/ssh/sshd_config + )) { templates2events( $file, $event ); } @@ -18,26 +19,19 @@ #action specific to this package #event_link('action', $event, '30'); #services we need to restart -#safe_symlink('restart', 'root/etc/e-smith/events/$event/services2adjust/) +safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/sshd"); #and Server Manager panel link #panel_link('somefunction', 'manager'); - - - -# Need some thought on when the templates should be expanded and when the action should be called. - -use esmith::Build::CreateLinks qw(:all); - +#Need some thought on when the templates should be expanded and when the action should be called. foreach (qw( - /etc/profile.d/motd.sh - )) -{ - templates2events("$_", qw( + )) +{templates2events("$_", qw( post-upgrade console-save bootstrap-console-save remoteaccess-update - )); } + +1