Forráskód Böngészése

do not remount rw

Waldemar Brodkorb 11 éve
szülő
commit
4423cc01c2
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      package/base-files/src/etc/init.d/rcS

+ 4 - 1
package/base-files/src/etc/init.d/rcS

@@ -20,7 +20,10 @@ mdev -s
 cat /etc/.rnd >/dev/urandom 2>&1
 cat /etc/.rnd >/dev/urandom 2>&1
 
 
 # setup cfgfs
 # setup cfgfs
-[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;} || mount -o remount,rw /
+[ -x /sbin/cfgfs ] && {
+	cfgfs setup
+	mount -o remount,ro /
+}
 
 
 # remount /tmp with smaller size
 # remount /tmp with smaller size
 size=$(cat /etc/tmpfs 2>/dev/null)
 size=$(cat /etc/tmpfs 2>/dev/null)