shithub: riscv

ref: 72a168b5fb1d3b40bf6c8051d06d7237f27a7d2b
dir: /rc/bin/eject/

View raw version
#!/bin/rc
switch($1){
case 0
	echo eject > /dev/fd0ctl
case 1
	echo eject > /dev/fd1ctl
case *
	echo eject > /dev/fd0ctl
}