diff options
Diffstat (limited to 'templates/system/options/reboot-on-panic/node.def')
-rw-r--r-- | templates/system/options/reboot-on-panic/node.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/system/options/reboot-on-panic/node.def b/templates/system/options/reboot-on-panic/node.def index 425f5a76..d16df48c 100644 --- a/templates/system/options/reboot-on-panic/node.def +++ b/templates/system/options/reboot-on-panic/node.def @@ -1,10 +1,10 @@ type: bool -help: "Configure if kernel panic causes reboot" +help: Configure if kernel panic causes reboot default: true -update: "sudo sh -c \"if [ x$(@) == xfalse ]; \ +update:expression: "sudo sh -c \"if [ x$VAR(@) == xfalse ]; \ then \ echo 0 > /proc/sys/kernel/panic; \ else \ echo 60 > /proc/sys/kernel/panic; \ fi\" " -delete: "sudo sh -c \"echo 60 > /proc/sys/kernel/panic\" " +delete:expression: "sudo sh -c \"echo 60 > /proc/sys/kernel/panic\" " |