* Wed May 28 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme

- prevent service handling in bootstrap and post-upgrade [SME: 13002]
This commit is contained in:
2025-05-28 00:40:02 -04:00
parent 2710d9f93d
commit 5047976085
2 changed files with 5 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ use Errno;
use DirHandle;
my $event = shift || die "must give event name parameter";
exit(0) if ( grep( /^$event$/, qw(post-upgrade bootstrap-console-save) ));
chdir "/etc/e-smith/events/$event" or die "Couldn't chdir to event directory /etc/e-smith/events/$event: $!";
my $dh = DirHandle->new("services2adjust");