diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-31 07:59:02 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-31 07:59:02 -0800 |
commit | 622bbf801bd435a3848c669ff2c0e9090cd2bb4e (patch) | |
tree | 328d04410e8fed64e6a8b25abdf58f199d916c2d /templates/system/options/reboot-on-panic | |
parent | c2c002021eab0adff7e4d268535170658a1b0c6c (diff) | |
download | vyatta-cfg-quagga-622bbf801bd435a3848c669ff2c0e9090cd2bb4e.tar.gz vyatta-cfg-quagga-622bbf801bd435a3848c669ff2c0e9090cd2bb4e.zip |
convert templates to new syntax
Diffstat (limited to 'templates/system/options/reboot-on-panic')
-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\" " |