git: 9front

ref: 9f2b83e1f05565fa196924e50ad7dd0f86bf5093
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
}