| 1 | TIMEOUT=10 |
| 2 | |
| 3 | for i in $(seqscip-shell system . . seq. 1 $TIMEOUT); do |
| 4 | echoscip-shell system . . echo. "Waiting for rpcbind to be up ($i/$TIMEOUT)..." |
| 5 | if /usr/bin/rpcinfoscip-shell filesystem . . `/usr/bin/rpcinfo`. -T tcp 127.0.0.1 100000 4 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 6 | break |
| 7 | fi |
| 8 | sleepscip-shell system . . sleep. 1 |
| 9 | done |
| 10 | echoscip-shell system . . echo. "rpcbind listening, starting rpc.statd" |
| 11 | sudoscip-shell system . . sudo. /usr/sbin/rpc.statdscip-shell filesystem . . `/usr/sbin/rpc.statd`. |