From: Artur Frysiak Date: Fri, 3 Sep 1999 07:54:22 +0000 (+0000) Subject: posible fix for umounting /usr X-Git-Tag: ver-0_0_9~21 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=a9d19fdd2a1a2f5b637fe3ef2857c08ddc0bc5c3;p=projects%2Frc-scripts.git posible fix for umounting /usr svn-id: @512 --- diff --git a/rc.d/init.d/shutdwn b/rc.d/init.d/shutdwn index a129d81f..bda9bd6d 100755 --- a/rc.d/init.d/shutdwn +++ b/rc.d/init.d/shutdwn @@ -6,7 +6,7 @@ # Modified for PLD Linux by Grzegorz Stanislawski # Changes: Arkadiusz Mi¶kiewicz # -# $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 @@ -31,7 +31,11 @@ halt -w # 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