Apple Script Question

zaxcom

Registered
I want to write a script that enters the following command at Start up in the Terminal:

sudo sysctl -w net.inet.tcp.rfc1323=0

But I cant make it work.

Better yet I would like to change this variable permanently so I never have to enter it again, can I do that?

Thanks

Zax
 
I believe you'll need to edit your /etc/rc file as root (sudo pico /etc/rc). I edited that file for broadband optimization. You'll want to add that line at the end of the file between:

SystemStarter ${VerboseFlag}

and

exit 0

I could be mistaken but by doing this you can leave out the 'sudo' from the command you want to enter.
 
yes, that did it. in fact I added several items to that file and now they all are set at startup up. thanks.

Zax
 
Back
Top