diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 21:00:45 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 22:43:51 +0200 |
commit | 4423cc01c2c6f106ae0e17479fcab4e83d3660dd (patch) | |
tree | 407c18c279e81c76d5fa4ed40feeff319d6e1854 /package/base-files | |
parent | 17ee2641795348e935c1046383b51c1c939a6b1a (diff) |
do not remount rw
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index c7cbb31da..08b34a9ca 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/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) |