summaryrefslogtreecommitdiff
path: root/testing/gpm/gpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gpm/gpm.sh')
-rwxr-xr-xtesting/gpm/gpm.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/gpm/gpm.sh b/testing/gpm/gpm.sh
new file mode 100755
index 000000000..af35a5f33
--- /dev/null
+++ b/testing/gpm/gpm.sh
@@ -0,0 +1,3 @@
+case $( /usr/bin/tty ) in
+ /dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
+esac