From 96b1debbf869ac135f3a0f22e8fdc57caaa15129 Mon Sep 17 00:00:00 2001 From: BurnZeZ Date: Fri, 7 Dec 2018 01:41:27 +0000 Subject: [PATCH] add entries for il rcpu --- rc/bin/service/!il17019 | 11 +++++++++++ sys/lib/dist/ndb/common | 1 + 2 files changed, 12 insertions(+) create mode 100755 rc/bin/service/!il17019 diff --git a/rc/bin/service/!il17019 b/rc/bin/service/!il17019 new file mode 100755 index 000000000..0bdd5592b --- /dev/null +++ b/rc/bin/service/!il17019 @@ -0,0 +1,11 @@ +#!/bin/rc +if(~ $#* 3){ + netdir=$3 + remote=$2!`{cat $3/remote} +} +fn server { + ~ $#remote 0 || echo -n $netdir $remote >/proc/$pid/args + rm -f /env/'fn#server' + . <{n=`{read} && ! ~ $#n 0 && read -c $n} >[2=1] +} +exec tlssrv -a /bin/rc -c server diff --git a/sys/lib/dist/ndb/common b/sys/lib/dist/ndb/common index 7f3808d05..db955a556 100644 --- a/sys/lib/dist/ndb/common +++ b/sys/lib/dist/ndb/common @@ -325,6 +325,7 @@ il=ncpu port=17010 il=ncpunote port=17011 il=tcpu port=17012 il=cpu port=17013 +il=rcpu port=17019 il=fsauth port=17020 il=rexauth port=17021 il=changekey port=17022