#!/bin/rc -x # 2022-04-09T23:16:51-04:00 fn gowebfs{ ramfs -m /n/webfs && webcookies -f /n/webfs/webcookies && webfs -s webfs.$user.$pid -T 100000 -d >>[2]/n/webfs/webfs.err && useragent virus #&& #hget http://whatismyip.com | htmlfmt | grep 'My Public IPv4 is' } gowebfs rm /srv/*9front* if(! test -f /mnt/plumb/rules) plumber if(! test -f /mnt/factotum/ctl) auth/factotum auth/secstore -s tcp!auth.inri.net!5356 -G factotum >/mnt/factotum/ctl if(~ $1 -v){ # hostile network bind /net /n/net.orig && rimport deckard.inri.net /net && # i mean, it's fast Kill webfs | rc && gowebfs } if(~ $1 -m){ 5ess -m && bind -c /n/5ess/mail /mail && upas/fs #upas/fs -f /imaps/5ess.inri.net/sl } #alarm 20 nntpfs -a news.eternal-september.org #nntpfs news.aioe.org # slow #nntpfs csiph.com # comp only #nntpfs news2.informatik.uni-stuttgart.de if(~ $sysname deckard) bind / /n/fs bind / /n/$sysname echo go!