]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- bugfixes for crypttab
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Nov 2007 01:10:43 +0000 (01:10 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Nov 2007 01:10:43 +0000 (01:10 +0000)
svn-id: @9027

rc.d/rc.shutdown
rc.d/rc.sysinit

index 398b1b5f47f3c81761449341c56b150a35370ecd..d5ebea2bcddd8a135b07bfb4e89caf3d2648534e 100755 (executable)
@@ -146,7 +146,9 @@ else
 fi
 
 if [ -f /etc/crypttab ]; then
-       show "Stopping disk encryption:"
+       . /etc/rc.d/init.d/cryptsetup
+
+       show "Stopping disk encryption"
        halt_crypto && ok || fail
 fi
 
index f96acb048eb75466eae4fc8bf80b15f41f51b0ee..218c83937775abe2a73cc1434fb866d5b719f00e 100755 (executable)
@@ -277,7 +277,7 @@ if ! is_yes "$VSERVER"; then
 
                # but should do this before swapon?
                . /etc/rc.d/init.d/cryptsetup
-               show "Starting disk encryption:"
+               show "Starting disk encryption"
                init_crypto 0 && ok || fail
        fi
 
This page took 0.181101 seconds and 4 git commands to generate.