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 ea973017..fc9a6f27 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -28,7 +28,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
@@ -129,8 +129,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