Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'error in script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
error in script
Authored by: timrob on Jul 23, '02 02:00:16PM

You are correct. Thanks for spotting this.
I chose to edit the startup item because they were
already using the sysctl command there. Good point though
about editing /System/Libray/StartupItems. I just copied
the /System/Libray/StartupItems/SystemTuning to /Library/StartupItems
and edited out the original text leaving my added script. It works fine,
but sysctl.conf is read much later in the boot sequence.
I do hope that they include this function in 10.2.



[ Reply to This | # ]
error in script
Authored by: froz on Jul 24, '02 03:39:39AM

There are a couple more errors, the last two lines of /etc/rc.sysctl should be:

[whitespace]done < /etc/rc.sysctl
fi

the keyword/value pairs in /etc/sysctl.conf should be
kw=val instead of kw: val

It's kind of hard to post code fragments as HTML without being able to escape angle brackets, etc.



[ Reply to This | # ]