slitaz-boot-scripts rev 295 4.7.1
init: fix 256Mb ram case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 30 00:26:57 2012 +0200 (2012-03-30) |
parents | d9d24861212c |
children | 29323d0e1eef |
files | init |
line diff
1.1 --- a/init Wed Mar 28 22:51:13 2012 +0200 1.2 +++ b/init Fri Mar 30 00:26:57 2012 +0200 1.3 @@ -175,7 +175,7 @@ 1.4 umount /proc 1.5 [ -n "$size" ] || size="-o size=90%" 1.6 echo "exec /sbin/init" > /dev/shm/init 1.7 -if [ $free -lt 50 ] || ! mount -t tmpfs $size tmpfs /mnt; then 1.8 +if [ $free -lt 100 ] || ! mount -t tmpfs $size tmpfs /mnt; then 1.9 echo -e "\\033[70G[ \\033[1;33mSkipped\\033[0;39m]" 1.10 exit 1.11 fi