shithub: rc

ref: 7f2e1ae8748df1fed378180929bdb203aae7f64c
dir: /bin/gridreg/

View raw version
#!/bin/rc
rfork n
srv tcp!registry.9p.zone!registry registry /mnt/registry
rm /srv/registry
cd /mnt/registry
>new{
	echo tcp!9dump!9fs description '''read-only file dump''' contact qwx@sciops.net type fileserver
	tail -f event
} &
>new{
	echo tcp!9dump!t9fs description '''tls 9dump, ask for credentials''' contact qwx@sciops.net type fileserver
	tail -f event
}