Update e-smith-package-update to smeserver-package-update
This commit is contained in:
parent
10338a8620
commit
7c0e22d7bc
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
use esmith::Build::CreateLinks qw(:all);
|
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("/etc/sysconfig/ups", @events);
|
||||||
templates2events("/usr/lib/systemd/system/nut-server.service.d/50koozali.conf", @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);
|
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", $_);
|
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");
|
safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/nut");
|
||||||
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
|
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
|
||||||
event_link("systemd-default", $event, "06");
|
event_link("systemd-default", $event, "06");
|
||||||
|
Loading…
Reference in New Issue
Block a user