From 78dc5af360091da6faa93023564020eaeee4d2e9 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 3 Aug 2014 11:30:15 +0200 Subject: 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? :) --- templates/system/options/ctrl-alt-del-action/node.def | 8 ++++---- 1 file 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 -- cgit v1.2.3