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="Todd Smith 265" data-source="post: 1415323" data-attributes="member: 181648"><p>Thanks again vansmith. I totally get the principle of what you're saying, but not sure I have executed it right... I now have one file (in the same location, still named NAS.sh, but I added the extra command in so it reads like this:</p><p></p><p>sudo chmod +x /System/Library/StartupItems/NAS/Nas.sh</p><p>sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0</p><p></p><p>Is this right, or do I need a seperate file called something else inside the startup folder which Lion will read and from that it'll execute the NAS shell command script?</p><p></p><p>Apologies for all the questions</p><p></p><p>T</p></blockquote><p></p>
[QUOTE="Todd Smith 265, post: 1415323, member: 181648"] Thanks again vansmith. I totally get the principle of what you're saying, but not sure I have executed it right... I now have one file (in the same location, still named NAS.sh, but I added the extra command in so it reads like this: sudo chmod +x /System/Library/StartupItems/NAS/Nas.sh sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0 Is this right, or do I need a seperate file called something else inside the startup folder which Lion will read and from that it'll execute the NAS shell command script? Apologies for all the questions T [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
How Can I Make A Terminal Command Permanent?
Top