diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-08-03 11:30:15 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-08-03 11:30:15 +0200 |
commit | 78dc5af360091da6faa93023564020eaeee4d2e9 (patch) | |
tree | 90ef9e1a7719ba8e13590d8be772d1a0b419ba3c /templates/system/options | |
parent | 200889e9e3d671d6bdef3b2803215e3f05293b9e (diff) | |
download | vyatta-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.def | 8 |
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 |