shithub: riscv

ref: 2d1dac07f7770e096d76ecbddea364ed538f0e70
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 ''