From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3e1162e60707190828w49dfafemb8648a32407951ef@mail.gmail.com> Date: Thu, 19 Jul 2007 08:28:06 -0700 From: "David Leimbach" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] patch for /rc/bin/cpurc In-Reply-To: <1184826458.677171.47750@z24g2000prh.googlegroups.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78343_19779640.1184858886358" References: <1184826458.677171.47750@z24g2000prh.googlegroups.com> Topicbox-Message-UUID: 959ce1e8-ead2-11e9-9d60-3106f5b1d025 ------=_Part_78343_19779640.1184858886358 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Is the "patch" system still working? It's been a while since I looked. On 7/19/07, Antonin wrote: > > 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 > -- - Passage Matthew 5:37: But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil. ------=_Part_78343_19779640.1184858886358 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Is the "patch" system still working?

It's been a while since I looked.

On 7/19/07, Antonin <antonin.vecera@gmail.com> wrote:
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



--
- Passage Matthew 5:37:
   But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil.
------=_Part_78343_19779640.1184858886358--