]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/install+setup/install/scsi.c
Neuer Installer eingefügt...
[ipfire-2.x.git] / src / install+setup / install / scsi.c
index 495030ad19510cf2e378c9b04bb268e528933eed..96bf787d5c7edf27165a0deead598c10eda54eb7 100644 (file)
@@ -1,28 +1,28 @@
-/* IPCop install program.\r
- *\r
- * This program is distributed under the terms of the GNU General Public\r
- * Licence.  See the file COPYING for details.\r
- *\r
- * (c) Alan Hourihane, 2003 <alanh@fairlite.demon.co.uk>\r
- * \r
- * $Id: scsi.c\r
- * \r
- */\r
-\r
-#include "install.h"\r
-\r
-int\r
-try_scsi(char *disk_device)\r
-{\r
-       int fd;\r
-       char dev[10];\r
-\r
-       sprintf(dev, "/dev/%s", disk_device);\r
-\r
-       if ((fd = open(dev, O_RDONLY)) < 0)\r
-               return 0;\r
-\r
-       close(fd);\r
-       // remove usb scsi\r
-       return ( checkusb(disk_device) ? 0:1 );\r
-}\r
+/* IPCop install program.
+ *
+ * This program is distributed under the terms of the GNU General Public
+ * Licence.  See the file COPYING for details.
+ *
+ * (c) Alan Hourihane, 2003 <alanh@fairlite.demon.co.uk>
+ * 
+ * $Id: scsi.c
+ * 
+ */
+
+#include "install.h"
+
+int
+try_scsi(char *disk_device)
+{
+       int fd;
+       char dev[10];
+
+       sprintf(dev, "/dev/%s", disk_device);
+
+       if ((fd = open(dev, O_RDONLY)) < 0)
+               return 0;
+
+       close(fd);
+       // remove usb scsi
+       return ( checkusb(disk_device) ? 0:1 );
+}