Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv11422
Modified Files:
mountfs
Log Message:
-- fix umount filesystem
Index: mountfs
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/mountfs,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- mountfs 20 Apr 2007 13:22:03 -0000 1.42
+++ mountfs 9 Jul 2007 12:43:14 -0000 1.43
@@ -198,7 +198,7 @@
echo -n "Unmounting file systems..."
#/bin/umount -n -a -r
- cat /proc/mounts | cut -f -3 -d " " | grep -v -e "shm$" -e "rootfs$" -e "devfs$" -e " proc" | cut -f 2 -d " " | xargs -n 1 umount -rn
+ cat /proc/mounts | cut -f -3 -d " " | grep -v -e "tmpfs$" -e "rootfs$" -e "sysfs$" -e " proc" -e "devpts$" | cut -f 2 -d " " | xargs -n 1 umount -rn
evaluate_retval
# shutdown LVM if tools are installed
|