reboot kernel on panic

This commit is contained in:
James Swineson 2019-04-09 17:58:16 +08:00
parent ae6e96849e
commit 0d7394db9a

View file

@ -44,6 +44,8 @@ prepare_environment() {
modprobe overlay
modprobe squashfs
sysctl kernel.panic=10
echo "Creating workspace in '${WORKDIR}'..."
# workspace
mkdir -p "${WORKDIR}"