]> git.ipfire.org Git - thirdparty/dracut.git/commit
iscsiroot: remove bashisms
authorMartin Wilck <mwilck@suse.com>
Thu, 4 Apr 2019 15:12:07 +0000 (17:12 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 25 Oct 2019 07:18:12 +0000 (09:18 +0200)
commit28749d99734e349a07b444cb68e502b1e25ca17b
tree1e257c1496bb8a3b7f71d312102ccf63bb87e69b
parentac7582af48e70ed85bcc2c5efb37d45263cdc6ca
iscsiroot: remove bashisms

According to the dracut README, module code to be run in
the initrd must be POSIX-compliant. Replace remaining
bashisms (as reported by checkbashisms) with POSIX compliant
code.

The use of "type" is not strictly POSIX compliant, but it's
all over the place in dracut code. dash supports it, anyway.
modules.d/95iscsi/iscsiroot.sh