9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: geoff@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	[thread overview]
Message-ID: <138bef4e38632e887e6177664d05081c@collyer.net> (raw)
In-Reply-To: <a2d238df0607300330p4bb18c7cxdd9d3177acec043a@mail.gmail.com>

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.



      reply	other threads:[~2006-07-30 17:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-29 21:12 csant
2006-07-30  0:48 ` erik quanstrom
2006-07-30  5:10   ` csant
2006-07-30  9:08     ` csant
2006-07-30 10:30       ` Eoghan Sherry
2006-07-30 17:46         ` geoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=138bef4e38632e887e6177664d05081c@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).