summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/cpurc4
-rwxr-xr-x[-rw-r--r--]rc/bin/troll0
2 files changed, 3 insertions, 1 deletions
diff --git a/rc/bin/cpurc b/rc/bin/cpurc
index afd888a2e..3838256eb 100755
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -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}){
diff --git a/rc/bin/troll b/rc/bin/troll
index a8f6d9c07..a8f6d9c07 100644..100755
--- a/rc/bin/troll
+++ b/rc/bin/troll