1#!/bin/rc 2switch($1){ 3case 0 4 echo eject > /dev/fd0ctl 5case 1 6 echo eject > /dev/fd1ctl 7case * 8 echo eject > /dev/fd0ctl 9} 10