summaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorSami Kerola2014-05-18 12:32:04 +0200
committerSami Kerola2014-05-19 23:45:38 +0200
commit609d48534a1602ea568f218c6740ca171ec71efb (patch)
tree777cecf4fa7c10594367e6fd72a51d1fa2df81bf /bash-completion
parentsetterm: clean up screendump() (diff)
downloadkernel-qcow2-util-linux-609d48534a1602ea568f218c6740ca171ec71efb.tar.gz
kernel-qcow2-util-linux-609d48534a1602ea568f218c6740ca171ec71efb.tar.xz
kernel-qcow2-util-linux-609d48534a1602ea568f218c6740ca171ec71efb.zip
setterm: remove devfs and /dev/vcsa0 support
The devfs files /dev/vcc/a* does not need to be supported, and vcsa0 has not existed in years if ever. Reference: http://lwn.net/Articles/65197/ Reference: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devices.txt?id=14186fea0cb06bc43181ce239efe0df6f1af260a#n260 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/setterm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/setterm b/bash-completion/setterm
index 23a35b8c1..dc6b86032 100644
--- a/bash-completion/setterm
+++ b/bash-completion/setterm
@@ -40,7 +40,7 @@ _setterm_module()
;;
'--dump'|'--append')
local NUM_CONS
- NUM_CONS=(/sys/class/tty/*)
+ NUM_CONS=(/dev/vcsa?*)
COMPREPLY=( $(compgen -W "{1..${#NUM_CONS[*]}}" -- $cur) )
return 0
;;