From: Harald Hoyer Date: Mon, 12 Jul 2010 16:47:08 +0000 (+0200) Subject: cryptroot-ask: s/getargs rd_NO_CRYPTTAB/getarg rd_NO_CRYPTTAB/g X-Git-Tag: 007~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed61aae1415659645ff0c1f22e8716c850516554;p=platform%2Fupstream%2Fdracut.git cryptroot-ask: s/getargs rd_NO_CRYPTTAB/getarg rd_NO_CRYPTTAB/g --- diff --git a/modules.d/50plymouth/cryptroot-ask.sh b/modules.d/50plymouth/cryptroot-ask.sh index b1a7465..0740cd6 100755 --- a/modules.d/50plymouth/cryptroot-ask.sh +++ b/modules.d/50plymouth/cryptroot-ask.sh @@ -21,7 +21,7 @@ else device="$1" fi -if [ -f /etc/crypttab ] && ! getargs rd_NO_CRYPTTAB; then +if [ -f /etc/crypttab ] && ! getarg rd_NO_CRYPTTAB; then while read name dev rest; do # ignore blank lines and comments if [ -z "$name" -o "${name#\#}" != "$name" ]; then diff --git a/modules.d/90crypt/cryptroot-ask.sh b/modules.d/90crypt/cryptroot-ask.sh index a6a9af1..3fd75c0 100755 --- a/modules.d/90crypt/cryptroot-ask.sh +++ b/modules.d/90crypt/cryptroot-ask.sh @@ -24,7 +24,7 @@ else device="$1" fi -if [ -f /etc/crypttab ] && ! getargs rd_NO_CRYPTTAB; then +if [ -f /etc/crypttab ] && ! getarg rd_NO_CRYPTTAB; then while read name dev rest; do # ignore blank lines and comments if [ -z "$name" -o "${name#\#}" != "$name" ]; then @@ -62,4 +62,4 @@ info "luksOpen $device $luksname" >> /tmp/cryptroot-asked-$2 exit 0 -# vim:ts=8:sw=4:sts=4:et \ No newline at end of file +# vim:ts=8:sw=4:sts=4:et