summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/uristart.conf
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-04-13 00:09:12 -0500
committerepoch <epoch@hacking.allowed.org>2020-04-13 00:09:12 -0500
commitdd737c645037d32bd67a6ca6f377787297921421 (patch)
tree0b533d9a79d45d6bf184f93c90c5dcbcad142d07 /share/hackvr/examples/uristart.conf
parent36da2549891d0d67ed267b3bc5336bf14b2c64de (diff)
parent7ffc20e9ae8297ea8b6f796310cf065d4186aa5b (diff)
downloadhackvr-dd737c645037d32bd67a6ca6f377787297921421.tar.gz
hackvr-dd737c645037d32bd67a6ca6f377787297921421.zip
merged some derp in hackvr_term
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'