ref: 5f7a6b7ea3c4ae1b51beffe3309e9b6b0491e71f 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 }