#!/bin/sh# SPDX-License-Identifier: GPL-2.0set-e
# Use $KERNEL and $INITRAMFS to pass custom Kernel and optional initramfsKERNEL="${KERNEL:-/boot/bzImage}"set---l-s--reuse-cmdline"$KERNEL"INITRAMFS="${INITRAMFS:-/boot/initramfs}"if[-f"$INITRAMFS"];thenset--"$@"--initrd="$INITRAMFS"fi
kexec"$@"
kexec-e