summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/uristart.conf
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 /share/hackvr/examples/uristart.conf
parentede4c08f4f15a516a748f8ed89b4f6b06b845c2a (diff)
parent9f5c79eff1a3fae473bbdd12afcb77875d8548af (diff)
downloadhackvr-459bff40e078a3979573000a903b288bcc9a8d3f.tar.gz
hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.zip
Merge branch 'master' of /var/git/hackvr
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'