~inx-devel/inx/scriptsandfunctions

« back to all changes in this revision

Viewing changes to lib/inx/cdmp

  • Committer: Peter Garrett
  • Date: 2010-05-24 04:08:16 UTC
  • Revision ID: inx-one@optusnet.com.au-20100524040816-b9vz1d82hj1a5ct7
Added /dev/sr* to CD device check in cdmp. Edits to netinxtaller.

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
 
385
385
cdcheck ()                                             # See if we have anything to play...
386
386
{
387
 
    for device in $(ls /dev/hd* /dev/scd* 2> /dev/null)
 
387
    for device in $(ls /dev/hd* /dev/scd* /dev/sr* 2> /dev/null)
388
388
    do                                                 # Check for cdrom group.
389
389
        OKGROUP="$(ls -l $device | awk '{print $4}')"
390
390
        if [ "$OKGROUP" = "cdrom" ] ; then