blob: 62487f90bd45ac783bb64ea49b8b52a498b1d52d (
plain) (
blame)
1
2
3
4
5
6
7
|
if [ -z "$VIRTUALIZATION" ]; then
if [ -x /run/runit/reboot ] && command -v kexec >/dev/null; then
msg "Triggering kexec..."
kexec -e 2>/dev/null
# not reached when kexec was successful.
fi
fi
|