summarylogtreecommitdiffstats
path: root/aimtux-load
diff options
context:
space:
mode:
Diffstat (limited to 'aimtux-load')
-rw-r--r--aimtux-load12
1 files changed, 12 insertions, 0 deletions
diff --git a/aimtux-load b/aimtux-load
new file mode 100644
index 000000000000..c3224e5c98eb
--- /dev/null
+++ b/aimtux-load
@@ -0,0 +1,12 @@
+#!/bin/sh
+# credits: aixxe @ aixxe.net
+if grep -q /usr/lib/libAimTux.so /proc/$(pidof csgo_linux64)/maps; then
+ exit
+fi
+
+sudo gdb -n -q -batch \
+ -ex "attach $(pidof csgo_linux64)" \
+ -ex "set \$dlopen = (void*(*)(char*, int)) dlopen" \
+ -ex "call \$dlopen(\"/usr/lib/libAimTux.so\", 1)" \
+ -ex "detach" \
+ -ex "quit"