blob: d84abc7477e411277675ce277a575637f65da746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
type: bool
help: "Configure if kernel panic causes reboot"
default: true
create: "sh -c \"if [ x$(@) == xfalse ]; \
then \
echo 0 > /proc/sys/kernel/panic; \
else \
echo 60 > /proc/sys/kernel/panic; \
fi\" "
update: "sh -c \"if [ x$(@) == xfalse ]; \
then \
echo 0 > /proc/sys/kernel/panic; \
else \
echo 60 > /proc/sys/kernel/panic; \
fi\" "
delete: "sh -c \"echo 60 > /proc/sys/kernel/panic\" "
|