ref: b292565c20a73ff91b6b89481f99cf40517e0c6a
parent: 962ec8cfb1bb33f8eefaee5520e88fbee699ff2e
author: glenda <[email protected]>
date: Tue Aug 30 00:57:27 EDT 2011
cpurc: accept auth= key in sys= touple
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -53,8 +53,10 @@
sleep 2
}
-if(~ $#auth 0)
+if(~ $#auth 0){
+ auth=`{ndb/query sys $sysname auth}
. <{ndb/ipquery sys $sysname auth | sed 's, +,\n,g'}
+}
switch($auth){
case `{ echo $sysname; ndb/query sys $sysname dom
for(i in `{awk '/u\ *$/{print $1}' /net/ipselftab}){