# Modified for PLD Linux by Grzegorz Stanislawski
# Changes: Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
#
-# $Id: shutdwn,v 1.7 1999/08/09 20:42:02 wiget Exp $
+# $Id: shutdwn,v 1.8 1999/09/03 07:54:22 wiget Exp $
# Set the path.
PATH=/sbin:/bin:/usr/bin:/usr/sbin
# Turn off swap, then unmount file systems.
run_cmd "Turning off swap and accounting" swapoff -a
[ -x /sbin/accton ] && /sbin/accton
-run_cmd "Unmounting file systems" umount -a
+$MSG="`nls "Unmounting file systems"`"
+LC_ALL_OLD=$LC_ALL
+LC_ALL=C
+run_cmd "$MSG" umount -a
+LC_ALL=$LC_ALL_OLD
run_cmd "Remounting root filesystem in ro mode" mount -n -o remount,ro /
# turn off raid