From 0d7394db9a636b59d690aeb326daee5a0107b665 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Tue, 9 Apr 2019 17:58:16 +0800 Subject: [PATCH] reboot kernel on panic --- menhera.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menhera.sh b/menhera.sh index 510b0b1..7cb612b 100755 --- a/menhera.sh +++ b/menhera.sh @@ -44,6 +44,8 @@ prepare_environment() { modprobe overlay modprobe squashfs + sysctl kernel.panic=10 + echo "Creating workspace in '${WORKDIR}'..." # workspace mkdir -p "${WORKDIR}"