summaryrefslogtreecommitdiff
path: root/templates/system/options
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-08-03 11:30:15 +0200
committerDaniil Baturin <daniil@baturin.org>2014-08-03 11:30:15 +0200
commit78dc5af360091da6faa93023564020eaeee4d2e9 (patch)
tree90ef9e1a7719ba8e13590d8be772d1a0b419ba3c /templates/system/options
parent200889e9e3d671d6bdef3b2803215e3f05293b9e (diff)
downloadvyatta-cfg-system-78dc5af360091da6faa93023564020eaeee4d2e9.tar.gz
vyatta-cfg-system-78dc5af360091da6faa93023564020eaeee4d2e9.zip
Bug #173: rename "disable" option to "ignore".
If we call it "action", it should be a verb, and if the verb is "disable", what does it disable? :)
Diffstat (limited to 'templates/system/options')
-rw-r--r--templates/system/options/ctrl-alt-del-action/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/system/options/ctrl-alt-del-action/node.def b/templates/system/options/ctrl-alt-del-action/node.def
index 8a5ed9d5..3bbf2a81 100644
--- a/templates/system/options/ctrl-alt-del-action/node.def
+++ b/templates/system/options/ctrl-alt-del-action/node.def
@@ -2,16 +2,16 @@ type: txt
help: Ctrl-Alt-Delete action
-default: "disable"
+default: "ignore"
-val_help: disable; Disable Ctrl-Alt-Delete
+val_help: ignore; Ignore Ctrl-Alt-Delete
val_help: reboot; Reboot VyOS
val_help: poweroff; Poweroff VyOS
-syntax:expression: $VAR(@) in "disable", "reboot", "poweroff"; "Value must be disable, reboot, or poweroff"
+syntax:expression: $VAR(@) in "ignore", "reboot", "poweroff"; "Value must be ignore, reboot, or poweroff"
end:
- if [ $VAR(@) == "disable" ]; then
+ if [ $VAR(@) == "ignore" ]; then
sudo sh -c "sed -i -e 's/^ca.*/ca:12345:ctrlaltdel:/' \
/etc/inittab"
elif [ $VAR(@) == "reboot" ]; then