From f19de88a139799f105a6563031f754ff09a91c17 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Tue, 1 Sep 2020 01:22:53 +0300 Subject: [PATCH] Revert "tmp: debug for anaconda-generator" systemctl cannot be used in systemd generators https://www.freedesktop.org/software/systemd/man/systemd.generator.html This reverts commit 9a3862bf9436ac103ba4e1da5f0ee550625f5087. --- lxqt.ks | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lxqt.ks b/lxqt.ks index 75eeb0a..cc5620d 100644 --- a/lxqt.ks +++ b/lxqt.ks @@ -76,19 +76,6 @@ find /boot -name 'vmlinuz-*' | sort -u | while read -r line ; do done find /boot -name 'initrd-*' -print - -# tmp debug -cat << EOF > /lib/systemd/system-generators/debug0 -#!/bin/sh -_main(){ -systemctl list-units --type=target -systemctl is-active anaconda.target -} -set -x -_main 2>&1 | tee /tmp/debug0 -EOF -chmod +x /lib/systemd/system-generators/debug0 - %end # debug