From 40412b28028ff453d6350f96a4e7efab3a3b0342 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 15 Apr 2005 20:01:18 +0000 Subject: reverse sort the mount list, avoiding errors (#147254, ) --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index ba25911d..55083d7c 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -199,7 +199,7 @@ done rm -f /.autofsck # Try all file systems other than root and RAM disks, one last time. -mount | awk '!/( \/ |^\/dev\/root|^\/dev\/ram| \/proc )/ { print $3 }' | \ +mount | awk '!/( \/ |^\/dev\/root|^\/dev\/ram| \/proc )/ { print $3 }' | sort -r \ while read line; do umount -f $line done -- cgit v1.2.1