#!/bin/csh -f

if ( $2 == "/dev/sr6" ) then
cat <<woof
Audio CD (stopped) 96:42e7:8761:c1c7:f3f7:1385f:18e43:1c97d:1f7e5:22c42:26386:2a078:2ce2f
woof
endif

if ( $2 == "/dev/sr5" ) then
cat <<woof
No CD in drive
woof
endif

if ( $2 == "/dev/sr4" ) then
cat <<woof
CDROM                           
woof
endif

if ( $2 == "/dev/sr3" ) then
cat <<woof
DEMO                            
woof
endif

if ( $2 == "/dev/sr2" ) then
cat <<woof
HEXEN                           
woof
endif

if ( $2 == "/dev/sr1" ) then
cat <<woof
CDROM                            mounted on /cdrom/2
woof
endif

if ( $2 == "/dev/sr0" ) then
cat <<woof
Audio CD (playing, trk 1, 0:30) b6:8a7:5384:9f38:ad9f:f165:13f01:18788:1ae61:1e048:22909:2787d:287e9:2cfbf:3103a
woof
endif
