From c6b1e05322ecda2d4c5c1edb8cacb718e34024ec Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 15 May 2022 18:41:14 -0700 Subject: [PATCH] New systemd actions have to be enabled --- updateboot.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/updateboot.pl b/updateboot.pl index 123c76b4..27b8e367 100755 --- a/updateboot.pl +++ b/updateboot.pl @@ -25,6 +25,8 @@ unlink("$p/$product"); } copy_source_dest("usermin-systemd", "$systemd_root/$product.service"); + system("systemctl unmask $product >/dev/null 2>&1"); + system("systemctl enable $product >/dev/null 2>&1"); system("systemctl daemon-reload >/dev/null 2>&1"); } elsif (-d "/etc/init.d") {