From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <138bef4e38632e887e6177664d05081c@collyer.net> To: 9fans@cse.psu.edu Subject: Re: Re: [9fans] fossil+venti install and network? Date: Sun, 30 Jul 2006 10:46:41 -0700 From: geoff@collyer.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 94303040-ead1-11e9-9d60-3106f5b1d025 My cpurc (based on one from the labs) does this: --- # site-specific startup if (test -e /rc/bin/cpurc.local) . /rc/bin/cpurc.local # [...] # cpu-specific early startup, notably cron if (test -e /cfg/$sysname/cpurc) . /cfg/$sysname/cpurc # [...] # start up internet if we don't already have an address if(! grep u /net/ipselftab | grep -sv 127.0.0.1) ip/ipconfig if(! grep -s 127.0.0.1 /net/ipselftab) ip/ipconfig loopback /dev/null 127.1 --- which should be more robust. One of my current tasks is to simplify administration. I'll be back at the labs tomorrow (Monday) and will look into why we don't have a similar cpurc nor /cfg on sources. At minimum, one wants /cfg/pxe for pxe booting.