/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to initramfs-tools-script

  • Committer: Teddy Hogeborn
  • Date: 2017-02-23 20:20:34 UTC
  • mfrom: (899 trunk)
  • mto: This revision was merged to the branch mainline in revision 900.
  • Revision ID: teddy@recompile.se-20170223202034-0820bcq0k7d1j9kf
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
# Get DEVICE from /conf/initramfs.conf and other files
58
58
. /conf/initramfs.conf
59
59
for conf in /conf/conf.d/*; do
60
 
    [ -f ${conf} ] && . ${conf}
 
60
    [ -f "${conf}" ] && . "${conf}"
61
61
done
62
62
if [ -e /conf/param.conf ]; then
63
63
    . /conf/param.conf
115
115
# parse /conf/conf.d/cryptroot.  Format:
116
116
# target=sda2_crypt,source=/dev/sda2,key=none,keyscript=/foo/bar/baz
117
117
exec 3>/conf/conf.d/cryptroot.mandos
118
 
while read options; do
 
118
while read -r options; do
119
119
    newopts=""
120
120
    # Split option line on commas
121
121
    old_ifs="$IFS"