From 547ffcfbd77e9ea401f3b6f5d57ff2d3840ff611 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 22 Feb 2012 14:24:04 -0800 Subject: Add console keymap reconfigure op-mode command Bug 7448 This adds template for the Debian way to reconfigure console keymap. Note: although this is an op-mode command, it really persists across reboot since it changes the package keymap. There isn't a good method to put this in Vyatta config since the debian package configuration is interactive and prompts user for keyboard type and options. --- templates/set/console/keymap/node.def | 3 +++ templates/set/console/node.def | 1 + 2 files changed, 4 insertions(+) create mode 100644 templates/set/console/keymap/node.def create mode 100644 templates/set/console/node.def (limited to 'templates/set') diff --git a/templates/set/console/keymap/node.def b/templates/set/console/keymap/node.def new file mode 100644 index 0000000..5ab2f24 --- /dev/null +++ b/templates/set/console/keymap/node.def @@ -0,0 +1,3 @@ +help: Reconfigure console keyboard layout +run: sudo dpkg-reconfigure -f dialog keyboard-configuration + sudo /etc/init.d/keyboard-setup restart diff --git a/templates/set/console/node.def b/templates/set/console/node.def new file mode 100644 index 0000000..29bae4d --- /dev/null +++ b/templates/set/console/node.def @@ -0,0 +1 @@ +help: Control console behaviors -- cgit v1.2.3