ref: 8e4e1e57303f8eafec8a1ac03670179a39f00b70
parent: fe60a741224c1238d9cae3f1f53de4e1a517ae25
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Fri Oct 7 22:29:09 EDT 2011
cpurc: handle case with missing /net/ipselftab
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -60,9 +60,10 @@
}
switch($auth){
case `{ echo $sysname; ndb/query sys $sysname dom
+ if(test -r /net/ipselftab){
for(i in `{awk '/u\ *$/{print $1}' /net/ipselftab}){
echo $i; ndb/ipquery ip $i dom; ndb/ipquery ip $i sys
- } | sed 's,[^ ]+=,,g'}
+ } | sed 's,[^ ]+=,,g'}}
# cpu+auth server
auth/keyfs -wp -m /mnt/keys /adm/keys
aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp