X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cba027e9e27c2c70ed117265e177239007ad4683..3099fb8fb3408f20e009e8b26b8426cc31da675d:/package/base-files/files/etc/preinit diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 8c30fd8da..11b910038 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -20,7 +20,7 @@ failsafe() { mount proc /proc -t proc mount sysfs /sys -t sysfs -size=$(awk '/MemTotal:/ {l=5242880;mt=($2*1024);print((s=mt/2)l)?mt-l:s}' /proc/meminfo) mount tmpfs /tmp -t tmpfs -o size=$size,nosuid,nodev,mode=1777 if grep devfs /proc/filesystems > /dev/null; then