shithub: riscv

ref: 70e2b4f7ec6b225ae69a6e76dd025e1be0e0e8b1
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
}