View Single Post
  #3  
Old March 1st, 2002, 03:56 PM
kilowatt's Avatar
kilowatt kilowatt is offline
mach-o mach-o man
 
Join Date: Mar 2001
Location: irc.lfnet.net #kilonet
Posts: 984
Thanks: 0
Thanked 0 Times in 0 Posts
kilowatt is on a distinguished road
Startup Script

ok, ate some food, read some of 'An AIX Companion" (circa 1994 written by David L. Cohn), banged my head against the wall, read some more, and came up with a macintosh startup script. Pretty cool, huh?


ok, so here's what to do:
in the terminal as an admin-level user:
Code:
cd /Library
mkdir StartupItems
skip that step if its allready there - check by typing ls
sudo chown root:admin StartupItems
if you trust all your wheel (admin) users to be smart people, you can leave it owned to wheel (the default) 
ok now download my file
and move it and unstuff:
Code:
sudo mv ~/Downloads/dhcpd-startup.zip .
sudo unzip dhcpd-startup.zip
sudo rm dhcpd-startup.zip
thats it!

it should create a directory called 'dhcpd'. Poke around in it to see how it works.

If you want, you can do this in /System/Library/StartupItems, but apple requests that you put it in /Library so that it isn't confused with apple's startup stuff.

Thanks to Yoshi, IckyShuff, twyg and Julian for putting up with me and supporting this in #macintosh - without them this would not be here.


btw, admin, can you allow us to post .tar.gz files? I had to learn how to use the 'zip' command (which was incredibly hard) and I had to figure out that zip -x doesn't unzip only unzip does
Attached Files
File Type: zip dhcpd-startup.zip (138 Bytes, 153 views)
Reply With Quote