Bug 135219 - Syntax error in /etc/init.d/boot.swap
Summary: Syntax error in /etc/init.d/boot.swap
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Alpha 3
Hardware: PC Linux
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 22:09 UTC by Björn Voigt
Modified: 2005-11-23 10:09 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.