]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
gleich die Korrektur hinterher
authormaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 21 Aug 2007 08:40:46 +0000 (08:40 +0000)
committermaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 21 Aug 2007 08:40:46 +0000 (08:40 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@794 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

src/install+setup/install/mountdest.sh

index 3c56b8ccc8f573ae70ae64ac87222c2a29702d86..c9306bb2f0b681331126832a0b5383ec5e2ab4de 100644 (file)
@@ -14,23 +14,11 @@ for DEVICE in $(kudzu -qps -t 30 -c HD -b IDE | grep device: | cut -d ' ' -f 2 |
     else
        umount /harddisk 2> /dev/null
        echo -n "$DEVICE" > /tmp/dest_device
-       echo " - yes, it is our destination"
+       echo "${DEVICE} - yes, it is our destination"
        exit 0
                fi
 done
 
-    mount /dev/${DEVICE}1 /cdrom 2> /dev/null
-    if [  ]; then
-            echo -n ${DEVICE} > /tmp/source_device
-            echo "Found Sources in ${DEVICE}"
-    else
-       umount /cdrom 2> /dev/null
-            echo "Found no Sources in ${DEVICE} skipping"
-    fi
-    umount /cdrom 2> /dev/null
-
-
-
 # scan USB/SCSI devices
 echo "--> USB/SCSI"
 for DEVICE in $(kudzu -qps -t 30 -c HD -b SCSI | grep device: | cut -d ' ' -f 2 | sort | uniq); do
@@ -43,7 +31,7 @@ for DEVICE in $(kudzu -qps -t 30 -c HD -b SCSI | grep device: | cut -d ' ' -f 2
     else
        umount /harddisk 2> /dev/null
        echo -n "$DEVICE" > /tmp/dest_device
-       echo " - yes, it is our destination"
+       echo "${DEVICE} - yes, it is our destination"
        exit 1
                fi
 done
@@ -61,7 +49,7 @@ for DEVICE in $(kudzu -qps -t 30 -c HD -b RAID | grep device: | cut -d ' ' -f 2
     else
                        umount /harddisk 2> /dev/null
                        echo -n "$DEVICE" > /tmp/dest_device
-                       echo " - yes, it is our destination"
+       echo "${DEVICE} - yes, it is our destination"
                        exit 2
                fi
 done