diff options
Diffstat (limited to 'templates/system/options')
-rw-r--r-- | templates/system/options/node.def | 2 | ||||
-rw-r--r-- | templates/system/options/reboot-on-panic/node.def | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/system/options/node.def b/templates/system/options/node.def index 1e49ee5b..005684e6 100644 --- a/templates/system/options/node.def +++ b/templates/system/options/node.def @@ -1 +1 @@ -help: "Configure system options" +help: Configure system options 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\" " |