ref: 0e95b3af5f3ae3419a8a3ee2f88b10e38f0eb734 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 }