Skip to content

Commit

Permalink
functions: 0.16.3 version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
tokiclover committed Jan 14, 2015
1 parent afeeae8 commit 270109a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions usr/lib/mkinitramfs-ll/functions
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $Header: mkinitramfs-ll/lib/mkinitramfs-ll/functions Exp $
# $Author: (c) 2011-2015 -tclover <[email protected]> Exp $
# $License: 2-clause/new/simplified BSD Exp $
# $Version: 0.16.2 2015/01/10 12:33:03 Exp $
# $Version: 0.16.3 2015/01/14 12:33:03 Exp $
#

# @USAGE: <var> <var> <char> <int> <opt>
Expand Down Expand Up @@ -251,7 +251,6 @@ stk() {
[ $(cryptsetup --version | awk '{print $2}' | cut -d'.' -f2) -ge 3 ] &&
CLD=true
fi

if [ "$_km" != "pwd" ]; then
[ -n "$_kd" ] || die "device field empty"
[ -n "$_fp" ] || die "file path field empty"
Expand All @@ -263,7 +262,6 @@ stk() {
fi
debug -d test -f "$MNTDIR/$_fp"
fi

case $_km in
(gpg) $ECK && debug -d bck gpg
[ -f $CONFDIR/gpg ] && debug _modprobe gpg
Expand All @@ -290,7 +288,6 @@ bkd() {
else
local _dev="${1%%:*}"
fi

[ -n "$iraid" ] && debug arg "_raid" "$iraid" "," "$_grp" "$_cut"
[ -n "$ilvm" ] && debug arg "_lvm" "$ilvm" "," "$_grp" "$_cut"
[ -n "$_raid" ] && debug -d mdopen "$_raid" "_bkd"
Expand All @@ -306,7 +303,6 @@ bkd() {
# @DESCRIPTION: close dm-crypt mapping (colon separated list)
dmclose() {
local IFS="${IFS}:"

for _p in $@; do
debug cryptsetup close ${_p%-*}
done
Expand Down

0 comments on commit 270109a

Please sign in to comment.