Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
How Can I Make A Terminal Command Permanent?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1415371" data-attributes="member: 71075"><p>I'm going to guess that the script is executing before sysctl is available or sysctl is erroring out. For instance, it might be trying to set a value that is overwritten during the boot process or is might not have access to resources that it needs when it executes (in other words, it executes too early in the boot process).</p><p></p><p>Instead of fighting with this, you might want to try the more flexible launchd. Take a look at <a href="http://developernotes.com/archive/2011/04/06/169.aspx" target="_blank">this</a> article.</p></blockquote><p></p>
[QUOTE="vansmith, post: 1415371, member: 71075"] I'm going to guess that the script is executing before sysctl is available or sysctl is erroring out. For instance, it might be trying to set a value that is overwritten during the boot process or is might not have access to resources that it needs when it executes (in other words, it executes too early in the boot process). Instead of fighting with this, you might want to try the more flexible launchd. Take a look at [URL="http://developernotes.com/archive/2011/04/06/169.aspx"]this[/URL] article. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
How Can I Make A Terminal Command Permanent?
Top