summaryrefslogtreecommitdiff
path: root/templates/system/options/reboot-on-panic/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/options/reboot-on-panic/node.def')
-rw-r--r--templates/system/options/reboot-on-panic/node.def16
1 files changed, 0 insertions, 16 deletions
diff --git a/templates/system/options/reboot-on-panic/node.def b/templates/system/options/reboot-on-panic/node.def
deleted file mode 100644
index d84abc7..0000000
--- a/templates/system/options/reboot-on-panic/node.def
+++ /dev/null
@@ -1,16 +0,0 @@
-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\" "