-/* 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 );
+}