cryptroot-ask: s/getargs rd_NO_CRYPTTAB/getarg rd_NO_CRYPTTAB/g
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Jul 2010 16:47:08 +0000 (18:47 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Jul 2010 16:47:08 +0000 (18:47 +0200)
modules.d/50plymouth/cryptroot-ask.sh
modules.d/90crypt/cryptroot-ask.sh

index b1a7465..0740cd6 100755 (executable)
@@ -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
index a6a9af1..3fd75c0 100755 (executable)
@@ -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