Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. #!/bin/sh
  2. # These are the original gist links, linking to my gists now.
  3. # curl -O https://gist.githubusercontent.com/a2ikm/761c2ab02b7b3935679e55af5d81786a/raw/ab644cb92f216c019a2f032bbf25e258b01d87f9/limit.maxfiles.plist
  4. # curl -O https://gist.githubusercontent.com/a2ikm/761c2ab02b7b3935679e55af5d81786a/raw/ab644cb92f216c019a2f032bbf25e258b01d87f9/limit.maxproc.plist
  5. curl -O https://gist.githubusercontent.com/tombigel/d503800a282fcadbee14b537735d202c/raw/ed73cacf82906fdde59976a0c8248cce8b44f906/limit.maxfiles.plist
  6. curl -O https://gist.githubusercontent.com/tombigel/d503800a282fcadbee14b537735d202c/raw/ed73cacf82906fdde59976a0c8248cce8b44f906/limit.maxproc.plist
  7. sudo mv limit.maxfiles.plist /Library/LaunchDaemons
  8. sudo mv limit.maxproc.plist /Library/LaunchDaemons
  9. sudo chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist
  10. sudo chown root:wheel /Library/LaunchDaemons/limit.maxproc.plist
  11. sudo launchctl load -w /Library/LaunchDaemons/limit.maxfiles.plist
  12. sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement