From: Gary Pinkham <[EMAIL PROTECTED]>
Subject: Re: multiple repositories.
Date: Thu, 13 Apr 2000 05:05:35 +0900 (JST)

  | I put 
  | 
  | #!/bin/sh
  | /bin/cvs cvs --allow-root=/usr/local/cvs1 --allow-root=/usr/local/cvs2
  | --allow-root=/usr/local/cvs3 --allow-root=/usr/local/cvs4 pserver
  | 
  | into cvs.sh

The format of inetd.conf is same execl(2) system call.
It is a different notation to invoke with shell script.
You will put into /etc/inet/cvs.sh:

    #!/bin/sh
    /bin/cvs --allow-root=/usr/local/cvs1 --allow-root=/usr/local/cvs2
    --allow-root=/usr/local/cvs3 --allow-root=/usr/local/cvs4 pserver

,and put into /etc/inetd.conf:

    cvspserver stream tcp nowait root /bin/sh sh /etc/inet/cvs.sh
or
    cvspserver stream tcp nowait root /etc/inet/cvs.sh cvs.sh

--
KOIE Hidetaka <[EMAIL PROTECTED]>

Reply via email to