summaryrefslogtreecommitdiff
path: root/bin/hackvr
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hackvr')
-rwxr-xr-xbin/hackvr9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/hackvr b/bin/hackvr
new file mode 100755
index 0000000..1c9d16c
--- /dev/null
+++ b/bin/hackvr
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then
+ exec $HACKVR $*
+fi
+if [ $DISPLAY ]; then
+ exec hackvr_x11 $*
+else
+ exec hackvr_fb $*
+fi