[prev in list] [next in list] [prev in thread] [next in thread] 

List:       annvix-cvs
Subject:    [cvs] SVN commit in tools r527 - installer/trunk/tools
From:       cvsrep () annvix ! org
Date:       2006-12-31 0:57:02
Message-ID: E1H0p0Y-0008LJ-A7 () build ! annvix ! org
[Download RAW message or body]

Author: vdanen
Date: 2006-12-30 17:57:01 -0700 (Sat, 30 Dec 2006)
New Revision: 527

Modified:
   installer/trunk/tools/install-pkgs
Log:
- don't mount /proc if it's already mounted


Modified: installer/trunk/tools/install-pkgs
===================================================================
--- installer/trunk/tools/install-pkgs	2006-12-30 22:41:08 UTC (rev 526)
+++ installer/trunk/tools/install-pkgs	2006-12-31 00:57:01 UTC (rev 527)
@@ -77,9 +77,11 @@
     echo "+ Executing in non-network mode" >>${installlog}
 fi
 
-printf "${star} Mounting proc at /mnt/annvix/proc\n"
-mkdir /mnt/annvix/proc >/dev/null 2>&1
-mount -t proc none /mnt/annvix/proc
+if [ "`mount | grep -q 'annvix/proc'; echo $?`" == "1" ]; then
+    printf "${star} Mounting proc at /mnt/annvix/proc\n"
+    mkdir /mnt/annvix/proc >/dev/null 2>&1
+    mount -t proc none /mnt/annvix/proc
+fi
 
 modprobe loop
 


_______________________________________________
cvs mailing list
cvs@annvix.org
http://annvix.org/mailman/listinfo/cvs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic