summaryrefslogtreecommitdiff
path: root/bin/hackvr
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2020-04-14 11:50:30 +0000
committerepoch <epoch@hack.thebackupbox.net>2020-04-14 11:50:30 +0000
commit459bff40e078a3979573000a903b288bcc9a8d3f (patch)
treecd8e75a66129042803729924352de80d7a5f5041 /bin/hackvr
parentede4c08f4f15a516a748f8ed89b4f6b06b845c2a (diff)
parent9f5c79eff1a3fae473bbdd12afcb77875d8548af (diff)
downloadhackvr-459bff40e078a3979573000a903b288bcc9a8d3f.tar.gz
hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.zip
Merge branch 'master' of /var/git/hackvr
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