]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
posible fix for umounting /usr
authorArtur Frysiak <artur@frysiak.net>
Fri, 3 Sep 1999 07:54:22 +0000 (07:54 +0000)
committerArtur Frysiak <artur@frysiak.net>
Fri, 3 Sep 1999 07:54:22 +0000 (07:54 +0000)
svn-id: @512

rc.d/init.d/shutdwn

index a129d81fe5898d6a99b88cd52fadd4957e502783..bda9bd6dac2f8d45a7c49b2a7fef524891593d3e 100755 (executable)
@@ -6,7 +6,7 @@
 #               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
@@ -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
This page took 0.650959 seconds and 4 git commands to generate.