#!/bin/rc echo 'grid controlled cpurc' ndb/cs if (test -e /bin/rimport) { rimport -s gridcontrol -c $hubserver / /n/$hubserver } if not { import -E ssl -s gridcontrol -c $hubserver / /n/$hubserver } mount -c /n/$hubserver/srv/gridhub /n/gridhub echo 'attaching to '$hubserver' gridhub' if(test -e /n/gridhub/^$sysname^0){ echo 'attaching rc to existing clonecpu hubs' rc -i >/n/gridhub/^$sysname^1 >>[2]/n/gridhub/^$sysname^2 & } hub gridhub $sysname