shithub: riscv

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