shithub: riscv

ref: ec73849b6936d839410ccb239d14b2f7c7ca3d6f
dir: /acme/bin/ap/

View raw version
#!/bin/rc
args=''
while(~ $1 -*) {
	args=$args^' '^$1
	shift 1
}
if (~ $#1 0)
	sysname=alice
if not
	sysname=$1
if (! test -f /n/$sysname/usr/spool/ap ) { 9fs $sysname }
eval exec /acme/bin/$cputype/apread $args $sysname