blob: 55f872843d67f0a94a12057ad78f89c976d9ab94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
for i in \
sysinit.target \
basic.target \
initrd-fs.target \
initrd.target \
initrd-switch-root.target \
emergency.target \
shutdown.target; do
if ! systemd-analyze verify "$i"; then
warn "systemd-analyze verify $i failed"
poweroff
fi
done
|