Updated cloner3 and start mcelog daemon
[bootimage-initfs.git] / etc / cloner3 / installer.sh
index 5838e03..31b989c 100755 (executable)
@@ -156,11 +156,6 @@ fi
 
 # mounting 
 header "Mounting proc & sys filesystem in deployed image"
-if [! -d /cloner/mnt/proc ]
-then
-       mkdir /cloner/mnt/proc
-fi
-
 msg -n "Mounting /cloner/mnt/proc"
 mount -t proc none /cloner/mnt/proc
 if [ "$?" = "0" ]
@@ -170,11 +165,7 @@ else
        fail_msg
 fi
        
-if [! -d /cloner/mnt/sys ]
-then
-       mkdir /cloner/mnt/sys
-fi
-msg -n "Mounting /cloner/mnt/proc"
+msg -n "Mounting /cloner/mnt/sys"
 mount -t sysfs none /cloner/mnt/sys
 if [ "$?" = "0" ]
 then