henesyinit from lsubb0c8bdb6 years agoHistory
29 lines · 515 B · Text
RawDownload
#!/bin/rc if (~ $sysname whale aquamar)	exit 'Run it on your computer terminal' fn noauth {	echo has no auth for $1	exit noauth} fn hasauth {	dir=$1	touch $1/.$pid	|| noauth $1	chgrp -o sys $1/.$pid || noauth $1	rm $1/.$pid} test -e /srv/fsssync || echo srv -PWA fsssync >> /srv/fsconsmount -c /srv/fsssync /n/fossilmount -c /srv/fsssync /n/bfossil9fs whale9fs planb  # hasauth /n/planbhasauth /n/fossil repl/sync -r1 /lib/repl/asys  /lib/repl/lsysrepl/sync -1 /lib/repl/ahome  /lib/repl/lhome