mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
Kill several SysV compat functionalities (v258) (#38178)
This commit is contained in:
@@ -45,19 +45,4 @@ systemctl daemon-reload
|
||||
# of systemd-analyze blame. See issue #27187.
|
||||
systemd-analyze blame
|
||||
|
||||
# Test for 'systemd-update-utmp runlevel' vs 'systemctl daemon-reexec'.
|
||||
# See issue #27163.
|
||||
# shellcheck disable=SC2034
|
||||
if [[ -x /usr/lib/systemd/systemd-update-utmp ]]; then
|
||||
for _ in {0..10}; do
|
||||
systemctl daemon-reexec &
|
||||
pid_reexec=$!
|
||||
# shellcheck disable=SC2034
|
||||
for _ in {0..10}; do
|
||||
SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/systemd-update-utmp runlevel
|
||||
done
|
||||
wait "$pid_reexec"
|
||||
done
|
||||
fi
|
||||
|
||||
touch /testok
|
||||
|
||||
Reference in New Issue
Block a user