diff options
author | epoch <epoch@thebackupbox.net> | 2020-04-07 06:51:48 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2020-04-07 06:51:48 -0500 |
commit | 1cca9c35f1837ba0eb324593cdb8d5778fa9b7e3 (patch) | |
tree | 395be28b4ef60a0ab129dd5293c367f6dff6f876 /share/hackvr/examples/uristart.conf | |
parent | 35b84411ef9e69ab01bf0de789cce296d302110e (diff) | |
download | hackvr-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.conf | 2 |
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' |