From 7c0e22d7bceaee0c39ac34acb546df105b3e3bb6 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Thu, 4 Apr 2024 15:12:18 +0100 Subject: [PATCH] Update e-smith-package-update to smeserver-package-update --- createlinks | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/createlinks b/createlinks index dcf4b81..de34026 100644 --- a/createlinks +++ b/createlinks @@ -2,7 +2,7 @@ use esmith::Build::CreateLinks qw(:all); -my @events = qw(bootstrap-console-save console-save post-install post-upgrade e-smith-nutUPS-update); +my @events = qw(bootstrap-console-save console-save post-install post-upgrade smeserver-nutUPS-update); templates2events("/etc/sysconfig/ups", @events); templates2events("/usr/lib/systemd/system/nut-server.service.d/50koozali.conf", @events); @@ -13,12 +13,12 @@ foreach (qw(ups.conf upsd.users upsmon.conf upssched.conf)) templates2events("/etc/ups/$_", @events); } -foreach (qw(bootstrap-console-save console-save e-smith-nutUPS-update)) +foreach (qw(bootstrap-console-save console-save smeserver-nutUPS-update)) { templates2events("/etc/ups/upsd.conf", $_); } -my $event="e-smith-nutUPS-update"; +my $event="smeserver-nutUPS-update"; safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/nut"); templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); event_link("systemd-default", $event, "06");