9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] patch for /rc/bin/cpurc
@ 2007-07-19  8:58 Antonin
  2007-07-19 15:28 ` David Leimbach
  2007-07-19 17:15 ` geoff
  0 siblings, 2 replies; 4+ messages in thread
From: Antonin @ 2007-07-19  8:58 UTC (permalink / raw)
  To: 9fans

I suggest a small change to /rc/bin/cpurc to allow different
configuration of running services on multiple cpu servers:
Insert these 4 lines:

# cpu-specific startup
if(test -d /cfg/$sysname/
service)                                          <-- inserted
  /bin/bind /cfg/$sysname/service /rc/bin/service
<-- inserted
if(test -d /cfg/$sysname/
service.auth)                                  <-- inserted
  /bin/bind /cfg/$sysname/service.auth /rc/bin/service.auth    <--
inserted
if(test -e /cfg/$sysname/cpurc)
  . /cfg/$sysname/cpurc



Antonin


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-19 19:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-19  8:58 [9fans] patch for /rc/bin/cpurc Antonin
2007-07-19 15:28 ` David Leimbach
2007-07-19 17:15 ` geoff
2007-07-19 19:25   ` Antonin Vecera

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).