aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt5
1 files changed, 2 insertions, 3 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 81fcf971..04ff6626 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -31,7 +31,7 @@ halt_crypto() {
[ -z "$dst" -o "${dst#\#}" != "$dst" ] && continue
if [ -b "/dev/mapper/$dst" ]; then
if /sbin/dmsetup info "$dst" | grep -q '^Open count: *0$'; then
- /sbin/cryptsetup remove "$dst"
+ action $"Stopping disk encryption for $dst" /sbin/cryptsetup remove "$dst"
else
fnval=1
fi
@@ -173,8 +173,7 @@ LANG=C __umount_loop '$2 ~ /^\/$|^\/proc|^\/dev/{next}
[ -f /proc/bus/usb/devices ] && $UMOUNT /proc/bus/usb
-[ -f /etc/crypttab ] && \
- LANG=C action $"Stopping disk encryption: " halt_crypto
+[ -f /etc/crypttab ] && halt_crypto
# remove the crash indicator flag
rm -f /.autofsck