Browse Source

do not remount rw

Waldemar Brodkorb 11 years ago
parent
commit
4423cc01c2
1 changed files with 4 additions and 1 deletions
  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
 
 # 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
 size=$(cat /etc/tmpfs 2>/dev/null)