shithub: riscv

ref: efd64da989f1b6585e5413b1b61413509ae49eaf
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 ''