]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- typo
authorwaszi <waszi@pld-linux.org>
Fri, 18 Feb 2000 12:37:36 +0000 (12:37 +0000)
committerwaszi <waszi@pld-linux.org>
Fri, 18 Feb 2000 12:37:36 +0000 (12:37 +0000)
svn-id: @643

rc.d/rc.shutdown

index 41ea4e6dbedc5b8d04b9ef9bd1e963bc50e7fad9..65d33f918ad1f19ef55fc69402a31058db3acc13 100755 (executable)
@@ -6,7 +6,7 @@
 #               Modified for PLD Linux by Grzegorz Stanislawski
 # Changes:      Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
 #
-# $Id: rc.shutdown,v 1.4 2000/02/18 10:42:02 wiget Exp $
+# $Id: rc.shutdown,v 1.5 2000/02/18 12:37:36 waszi Exp $
 
 # Set the path.
 PATH=/sbin:/bin:/usr/bin:/usr/sbin
@@ -41,8 +41,7 @@ while [ -n "$remaining" -a "$retry" -gt 0 ]
 do
        _ERRORS=""
        show "Unmounting file systems"; busy
-       if _ERRORS="`LANG_OLD=$LC_ALL;LC_ALL=C;initlog -c \"umount -a -f -t noproc\" 2>&1;LC_ALL=$LANG_OLD`"; the
-       n
+       if _ERRORS="`LC_ALL=C;LANG=C;initlog -c \"umount -a -f -t noproc\" 2>&1`"; then
                deltext; ok
        else
                deltext; fail; echo $_ERRORS
@@ -50,7 +49,7 @@ do
        unset _ERRORS
         
        sleep 2
-        remaining=`awk '!/(^#|proc|^none|^\/dev\/root)/ {print $2}' /proc/mounts`
+        remaining=`awk '!/(^#| (proc|devfs|devpts|\/) |^none|^\/dev\/root)/ {print $2}' /proc/mounts`
         [ -z "$remaining" ] && break
         [ -x /sbin/fuser ] && /sbin/fuser -k -m $sig $remaining >/dev/null
         sleep 5
This page took 0.046153 seconds and 4 git commands to generate.