Browse Source

do not remount rw

Waldemar Brodkorb 12 năm trước cách đây
mục cha
commit
4423cc01c2
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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)