/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/files/what-cd
ViewVC logotype

Diff of /trunk/create-clonezilla-sysresccd/files/what-cd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 47 by sng, Thu May 20 12:12:53 2010 UTC revision 58 by sng, Tue May 25 09:02:17 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  ###########################################################################  ##############################################################################
3  #   Copyright (C) 2007-2008 by Spiros Georgaras <sng@hellug.gr>           #  #                                                                            #
4  #   what-cd: get info about CDs/DVDs                                      #  # what-cd, (C) 2007-2010 S. Georgaras <sng@hellug.gr>                        #
5  #                                                                         #  #                                                                            #
6  #   This program is free software; you can redistribute it and/or modify  #  # This file is part of Clonezilla-SysRescCD.                                 #
7  #   it under the terms of the GNU General Public License as published by  #  #                                                                            #
8  #   the Free Software Foundation; either version 2 of the License, or     #  # Clonezilla-SysRescCD is free software: you can redistribute it and/or      #
9  #   (at your option) any later version.                                   #  # modify it under the terms of the GNU General Public License as published   #
10  #                                                                         #  # by the Free Software Foundation, either version 2 of the License, or       #
11  #   This program is distributed in the hope that it will be useful,       #  # (at your option) any later version.                                        #
12  #   but WITHOUT ANY WARRANTY; without even the implied warranty of        #  #                                                                            #
13  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         #  # Clonezilla-SysRescCD is distributed in the hope that it will be useful,    #
14  #   GNU General Public License for more details.                          #  # but WITHOUT ANY WARRANTY; without even the implied warranty of             #
15  #                                                                         #  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
16  #   You should have received a copy of the GNU General Public License     #  # GNU General Public License for more details.                               #
17  #   along with this program; if not, write to the                         #  #                                                                            #
18  #   Free Software Foundation, Inc.,                                       #  # You should have received a copy of the GNU General Public License along    #
19  #   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         #  # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #
20  ###########################################################################  #                                                                            #
21    ##############################################################################
22    
23  versionNumber=1.0.2  versionNumber=1.0.2
24    
# Line 40  fi Line 41  fi
41    
42  function printResults(){  function printResults(){
43  # Display results  # Display results
   set -x  
44  local count=0  local count=0
45  while [ ! -z "${dev[$count]}" ];do  while [ ! -z "${dev[$count]}" ];do
46   if [ $findWriter -eq 1 ] && [ ${property[$count]} -eq 1 ];then   if [ $findWriter -eq 1 ] && [ ${property[$count]} -eq 1 ];then

Legend:
Removed from v.47  
changed lines
  Added in v.58

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26