cpurc: accept auth= key in sys= touple

front
glenda 2011-08-30 04:57:27 -04:00
parent 962ec8cfb1
commit b292565c20
2 changed files with 3 additions and 1 deletions

View File

@ -53,8 +53,10 @@ if(! ps|grep -s timesync){
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}){

0
rc/bin/troll Normal file → Executable file
View File