summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/uristart.conf
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-04-07 06:51:48 -0500
committerepoch <epoch@thebackupbox.net>2020-04-07 06:51:48 -0500
commit1cca9c35f1837ba0eb324593cdb8d5778fa9b7e3 (patch)
tree395be28b4ef60a0ab129dd5293c367f6dff6f876 /share/hackvr/examples/uristart.conf
parent35b84411ef9e69ab01bf0de789cce296d302110e (diff)
downloadhackvr-1cca9c35f1837ba0eb324593cdb8d5778fa9b7e3.tar.gz
hackvr-1cca9c35f1837ba0eb324593cdb8d5778fa9b7e3.zip
moved hackvr_coproc into main bin dir. added example uristart.conf file for hackvr URIs. fixed calvr makefile to not do hackvr_coproc
Diffstat (limited to 'share/hackvr/examples/uristart.conf')
-rw-r--r--share/hackvr/examples/uristart.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hackvr/examples/uristart.conf b/share/hackvr/examples/uristart.conf
new file mode 100644
index 0000000..d48e8d1
--- /dev/null
+++ b/share/hackvr/examples/uristart.conf
@@ -0,0 +1,2 @@
+hackvr: if [ "%u" ];then USER="%u";fi;ncat '%d' '%P' -c "echo $USER action %p;hackvr_uri"
+hackvr+ssh: if [ '%u' ];then u='%u@';fi ; if [ "%P" ];then P='-p %P';fi; hackvr_coproc ssh "$u"'%d' $P "/var/hackvr/hackvr-subsystem" '%p'