#!/bin/rc # setup - prep for the mkfile . ./defs 9fs sources 9fs other 9fs outfsother if (test -e /cfg/$sysname/config) . /cfg/$sysname/config if not outip=204.178.31.2 import -c tcp!$outip!666 $dist/web.protect if (! test -e $dist/web.protect/plan9.iso) { echo import web.protect failed: $dist/web.protect/plan9.iso missing \ >[1=2] bind /n/outfsother/web.protect $dist/web.protect # HACK if (! test -e $dist/web.protect/plan9.iso) { echo bind outfsother failed: $dist/web.protect/plan9.iso \ missing >[1=2] exit no-web-protect } }