shithub: riscv

ref: c57c8919e303aaad512a5e603f60d4be22d6afea
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
}