Last active
May 12, 2016 18:40
-
-
Save afresh1/d7fb08ae3c32b2caca9f to your computer and use it in GitHub Desktop.
~/bin/firefox for OpenBSD. Raises the ulimits needed to keep Firefox from crashing regularly. (~/bin is in my path before /usr/local/bin)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ulimit -n $(ulimit -Hn) | |
ulimit -d $(ulimit -Hd) | |
exec /usr/local/bin/firefox "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment