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") {