diff options
-rwxr-xr-x | scripts/runqemu-export-rootfs | 4 | ||||
-rwxr-xr-x | scripts/runqemu-internal | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs index 90edc8a216..bbdaf5ba0f 100755 --- a/scripts/runqemu-export-rootfs +++ b/scripts/runqemu-export-rootfs | |||
@@ -82,9 +82,9 @@ NFS_MOUNTPROG=$[ 21111 + $NFS_INSTANCE ] | |||
82 | # rpc.nfsd RPC port | 82 | # rpc.nfsd RPC port |
83 | NFS_NFSPROG=$[ 11111 + $NFS_INSTANCE ] | 83 | NFS_NFSPROG=$[ 11111 + $NFS_INSTANCE ] |
84 | # NFS port number | 84 | # NFS port number |
85 | NFS_PORT=$[ 3049 + $NFS_INSTANCE ] | 85 | NFS_PORT=$[ 3049 + 2 * $NFS_INSTANCE ] |
86 | # mountd port number | 86 | # mountd port number |
87 | MOUNT_PORT=$[ 3048 + $NFS_INSTANCE ] | 87 | MOUNT_PORT=$[ 3048 + 2 * $NFS_INSTANCE ] |
88 | 88 | ||
89 | ## For debugging you would additionally add | 89 | ## For debugging you would additionally add |
90 | ## --debug all | 90 | ## --debug all |
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 0f07bad970..7ca00f8fa0 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -277,8 +277,8 @@ if [ "$FSTYPE" = "nfs" ]; then | |||
277 | NFS_DIR=`echo $ROOTFS | sed 's/^[^:]*:\(.*\)/\1/'` | 277 | NFS_DIR=`echo $ROOTFS | sed 's/^[^:]*:\(.*\)/\1/'` |
278 | MOUNTD_RPCPORT=$[ 21111 + $NFS_INSTANCE ] | 278 | MOUNTD_RPCPORT=$[ 21111 + $NFS_INSTANCE ] |
279 | NFSD_RPCPORT=$[ 11111 + $NFS_INSTANCE ] | 279 | NFSD_RPCPORT=$[ 11111 + $NFS_INSTANCE ] |
280 | NFSD_PORT=$[ 3049 + $NFS_INSTANCE ] | 280 | NFSD_PORT=$[ 3049 + 2 * $NFS_INSTANCE ] |
281 | MOUNTD_PORT=$[ 3048 + $NFS_INSTANCE ] | 281 | MOUNTD_PORT=$[ 3048 + 2 * $NFS_INSTANCE ] |
282 | UNFS_OPTS="nfsvers=2,mountprog=$MOUNTD_RPCPORT,nfsprog=$NFSD_RPCPORT,udp,port=$NFSD_PORT,mountport=$MOUNTD_PORT" | 282 | UNFS_OPTS="nfsvers=2,mountprog=$MOUNTD_RPCPORT,nfsprog=$NFSD_RPCPORT,udp,port=$NFSD_PORT,mountport=$MOUNTD_PORT" |
283 | 283 | ||
284 | PSEUDO_LOCALSTATEDIR=~/.runqemu-sdk/pseudo | 284 | PSEUDO_LOCALSTATEDIR=~/.runqemu-sdk/pseudo |