shithub: privategrid

ref: ae717e651051cac1548c988909186e91d5349673
dir: /initprivategrid/

View raw version
#! /bin/rc
prefix='.'
while (~ $1 -*){
	switch($1){
	case -i
		inferno = yes
		shift
	case -p
		shift
		prefix=$1
		shift
	case *
		echo bad flag $1 >>[1=2]
		shift
	}
}
if($inferno){
	$prefix/01infernostart
	$prefix/02infregstart
	$prefix/03regreg
}
$prefix/04chat
$prefix/05wiki
$prefix/06ramfs
$prefix/07gridroot
$prefix/08ftp
$prefix/09plumber