]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- no bashism
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Nov 2008 00:15:32 +0000 (00:15 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Nov 2008 00:15:32 +0000 (00:15 +0000)
svn-id: @9973

rc.d/init.d/cryptsetup

index 089549930e953f9e572b362d79f080238d9664fd..297a91116baee84b2eb52016b3ce2ce82fca5363 100755 (executable)
@@ -25,13 +25,13 @@ init_crypto() {
                                mode=$(ls -l "$key" | cut -c 5-10)
                                owner=$(ls -l $key | awk '{ print $3 }')
                                if [ "$mode" != "------" ] && ! key_is_random "$key"; then
-                                       echo $"INSECURE MODE FOR $key"
+                                       echo "INSECURE MODE FOR $key"
                                fi
                                if [ "$owner" != root ]; then
-                                       echo $"INSECURE OWNER FOR $key"
+                                       echo "INSECURE OWNER FOR $key"
                                fi
                        else
-                               echo $"Key file for $dst not found, skipping"
+                               echo "Key file for $dst not found, skipping"
                                ret=1
                                continue
                        fi
@@ -55,21 +55,21 @@ init_crypto() {
                        cipher)
                                params="$params -c $value"
                                if [ -z "$value" ]; then
-                                       echo $"$dst: no value for cipher option, skipping"
+                                       echo "$dst: no value for cipher option, skipping"
                                        skip="yes"
                                fi
                        ;;
                        size)
                                params="$params -s $value"
                                if [ -z "$value" ]; then
-                                       echo $"$dst: no value for size option, skipping"
+                                       echo "$dst: no value for size option, skipping"
                                        skip="yes"
                                fi
                        ;;
                        hash)
                                params="$params -h $value"
                                if [ -z "$value" ]; then
-                                       echo $"$dst: no value for hash option, skipping"
+                                       echo "$dst: no value for hash option, skipping"
                                        skip="yes"
                                fi
                        ;;
@@ -91,7 +91,7 @@ init_crypto() {
 
                if /sbin/cryptsetup isLuks "$src" 2>/dev/null; then
                        if key_is_random "$key"; then
-                               echo $"$dst: LUKS requires non-random key, skipping"
+                               echo "$dst: LUKS requires non-random key, skipping"
                                ret=1
                                continue
                        fi
This page took 0.11553 seconds and 4 git commands to generate.