vx32

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

commit 38d19a0c67fdbb39d2d4956a858f17f2f60106be
parent d94ccf140f1567c0c7e66b8da0d54c4f7479e69d
Author: yiyus <yiyu.jgl@gmail.com>
Date:   Sat,  2 Oct 2010 19:40:42 +0200

scripts: minor fixes

Diffstat:
Mbin/9vxc | 6+++---
Mbin/rcvx | 6++++--
2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/bin/9vxc b/bin/9vxc @@ -2,12 +2,12 @@ # 9vxc: a 9vx cpu sever # If found, will exec /cfg/vx32/cpurc -# configure a pcap ethernet device -ether0=type=pcap dev= +# pcap ethernet device +# ether0=type=pcap dev= # default root is a kfs file # can be overwritten with -r localroot=/usr/local/plan9/9vx.kfs -#nvram=#Z/usr/local/plan9/9vx.nvram +nvram=#Z/usr/local/plan9/9vx.nvram # limit cpu usage and memory *cpulimit=20 *memsize=128 diff --git a/bin/rcvx b/bin/rcvx @@ -1,10 +1,12 @@ #!/bin/sh -# rcvx: rc from the 9vx embeded image +# rcvx: rc from the 9vx embedded image cmd="/386/bin/bind -a /386/bin /bin; bind -a /rc/bin /bin; + cd /bin; + echo Commands: *; cd '#Z"`pwd`"'; - prompt=\$sysname'# '; + prompt=\$sysname'% '; rc $@; echo reboot > '#c/reboot'" # double quotes in cmd to pass it to rc -c