Bug 135219

Summary: Syntax error in /etc/init.d/boot.swap
Product: [openSUSE] SUSE Linux 10.1 Reporter: Björn Voigt <bjoernv>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Alpha 3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Björn Voigt 2005-11-22 22:09:00 UTC
The file /etc/init.d/boot.swap from SuSE Linux 10.1 alpha3 seems to have a syntax error:

$ /etc/init.d/boot.swap start
/etc/init.d/boot.swap: line 37: syntax error near unexpected token `<'
/etc/init.d/boot.swap: line 37: `           done < <(parted -s /dev/$dev print quit 2>/dev/null)'
Comment 1 Dr. Werner Fink 2005-11-23 10:09:27 UTC
Please change the first line within /etc/init.d/boot.swap

   #!/bin/sh

with the following

   #!/bin/bash

with this the FIFO  <( ... )  should work.