vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit 3a74af48ba01d46c5ee1ebd156a53868c5b5fff8
parent 742d96ae0c9c985bb036f647dcb4c56479d992a9
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date:   Wed,  1 Sep 2010 23:59:47 +0200

add cpurc example file

Diffstat:
doc/9vx.1 | 11+++++++++--
src/9vx/cpurc | 6++++++
2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/doc/9vx.1 b/doc/9vx.1 @@ -69,8 +69,7 @@ Other options are: .TP \n(xxu .BI -c Start as a cpu(1) server (sets -.I init=/386/init -c -, see init(8) +.I service=cpu ) .TP .BI -f @@ -130,9 +129,17 @@ pairs in a similar fasion to plan9.ini(8). Additional options are .I memsize, .I netdev, .I macaddr +.I service (that can also be part of a netdev line) and .I localroot. +.SS Running 9vx as a cpu server +To run 9vx as a cpu server the +.I service +environment variable must be set to +.I cpu +, in the 9vx.ini file or with the -c flag. It is recommended to add a cpurc +in the /cfg/vx32/ directory, see cpurc(8). An example is included in the 9vx distribution. .SH BUGS The menu system of plan9.ini(8) is not supported in .I 9vx.ini diff --git a/src/9vx/cpurc b/src/9vx/cpurc @@ -0,0 +1,6 @@ +#!/bin/rc + +ip/ipconfig +auth/factotum +echo 'key proto=p9sk1 dom=9vx user=glenda !password=p4ss' >/mnt/factotum/ctl +aux/listen1 -t tcp!*!17010 /bin/cpu -R