1#!/bin/rc 2# setup - prep for the mkfile 3. ./defs 4 59fs sources 69fs other 79fs outfsother 8 9if (test -e /cfg/$sysname/config) 10 . /cfg/$sysname/config 11if not { 12 outsys=outside 13 out=$outsys.cs.bell-labs.com 14 outfs=outfs # outside is a client of outfs 15} 16 17# for some reason, -c doesn't actually enable creation 18#import -c tcp!$out!666 $dist/web.protect 19#if (! test -e $dist/web.protect/plan9.iso) { 20# echo import web.protect failed: $dist/web.protect/plan9.iso missing \ 21# >[1=2] 22 23 bind -c /n/outfsother/web.protect $dist/web.protect # HACK 24 if (! test -e $dist/web.protect/plan9.iso) { 25 echo bind outfsother failed: $dist/web.protect/plan9.iso \ 26 missing >[1=2] 27 exit no-web-protect 28 } 29#} 30