diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live index 9460eaa..3888f03 100755 --- a/scripts/live +++ b/scripts/live @@ -1471,7 +1471,8 @@ setup_unionfs () unionfs-fuse) unionmountopts="-o cow -o noinitgroups -o default_permissions -o allow_other -o use_ino -o suid" unionmountopts="${unionmountopts} ${unionrw}=RW:${unionro}=RO" - ( ulimit -n 16384 ; unionfs-fuse ${unionmountopts} "${unionmountpoint}" ) && \ + ( sysctl -w fs.file-max=391524 ; ulimit -HSn 16384 + unionfs-fuse ${unionmountopts} "${unionmountpoint}" ) && \ ( mkdir -p /dev/.initramfs/varrun pidof unionfs-fuse >> /dev/.initramfs/varrun/sendsigs.omit || true ) ;; |
