You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
337 B

#!/bin/bash
cp /usr/bin/true /usr/bin/man
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