shithub: gridchat

ref: a2c5233f86e4ca0802952ac60b075091e3675f3f
dir: /newsrv/

View raw version
#!/bin/rc -x

rfork ens

<[3]/srv/clone{
	id=`{<[0=3]read}
	<[3=]@{ # close the clone fd
		rfork n
		bind -c /srv/$id /srv
		rc -c $*
	}
}