shithub: riscv

ref: cea9e2267a70d17173c2b0fcdc421ee11b66ee79
dir: /acme/bin/win/

View raw version
#!/bin/rc
if(~ $#* 0){
	*=(rc -i)
}
/acme/bin/$cputype/winfs $1 >/dev/null >[2=1] || {
	# compat
	exec /acme/bin/$cputype/win $*
	exit
}
echo dump $* > /dev/acme/ctl
</dev/cons >/dev/cons >[2=1] $*
exit ''