Remove grep for 22 and 110 from dicey check before starting listen. tcp22 and tcp110 in .../service.auth/ would not be started by and so need not be checked for before this default invocation of listen (against .../service/). This lets auth servers start listen -t elsewhere while starting non-auth listen from the usual place. Notes: Mon Mar 17 19:09:21 EDT 2008 geoff I've updated sources's /rc/bin/service* directories. I think this change is no longer needed since service.auth is now nearly empty. Reference: /n/sources/patch/sorry/cpurc-listen-check Date: Fri Nov 2 08:09:06 CET 2007 Signed-off-by: josh@utopian.net Reviewed-by: geoff --- /rc/bin/cpurc Fri Nov 2 07:58:35 2007 +++ /rc/bin/cpurc Fri Nov 2 07:58:32 2007 @@ -51,7 +51,7 @@ # } # start listeners if it hasn't already been done (dicey check) -if(! netstat -n | grep -s 'tcp.*Listen.* (7|9|21|22|23|25|110|113|565|993|17007|17009|17010) .*') +if(! netstat -n | grep -s 'tcp.*Listen.* (7|9|21|23|25|113|565|993|17007|17009|17010) .*') aux/listen -q tcp # we don't use IL, maybe you do if(! netstat -n | grep -v 17008 | grep -s il.*Listen)