~fultonbrowne/ninebox

46a48242ecf2f45aa6f7c103f8b9c4f01e290d5a — glenda a month ago 5f8520d
added install script
3 files changed, 6 insertions(+), 4 deletions(-)

M 9boxrc
A install
M start
M 9boxrc => 9boxrc +1 -1
@@ 5,4 5,4 @@ fn run {
run &
hubname=9box.$pid
hub -b $hubname
echo to get a shell run: hub $hubname 
echo to get a shell run: hub $hubname

A install => install +4 -0
@@ 0,0 1,4 @@
#! /bin/rc
mkdir -p /rc/bin/9box
cp start 9boxrc /rc/bin/9box
cp namespace.9box.default /lib

M start => start +1 -3
@@ 1,8 1,6 @@
#!/bin/rc
# TODO get nsfile with -n
nsfile=/lib/namespace.9box.default
# TODO set start command with -c
command=9boxrc
command=9box/9boxrc

while(! ~ $#* 1) {
	switch ($1) {