ref: fc77a2d3d384c1ee854deebd4f1a97e751d7eaa2 dir: /rc/bin/eject/
#!/bin/rc switch($1){ case 0 echo eject > /dev/fd0ctl case 1 echo eject > /dev/fd1ctl case * echo eject > /dev/fd0ctl }