Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS and Mail




On Jun 5, 2006, at 4:05 AM, Banana Flex wrote:



1) You NEVER make changes using ifconfig in OS X. It will result in the system not knowing of the changes, them not surviving a reboot and the next time there is a network event on your system the settings reverting to what is properly configure.


okay, what' is the problem if in the Preferences Pane and the script is the same IP's? i have read on many sites that is possible to configure different route on startup and is preferable to add the configuration of ifconfig

<http://www.afp548.com/article.php?story=20041015131913324>

2) You NEVER do anything with rc.local or ANY of the rc files. You either use launchd or StartupItems. However in this case you don't use either of those either.

Mac OS X support launchd, Mach Bootstrap and Startup Items, but always scripts with rc.local
look at the end of /etc/rc


if [ -f /etc/rc.local ]; then
        sh /etc/rc.local
fi

i prefer use of launchd, fully supported on 10.4, but the simplest form is rc.local
can u explain me what because is not good to deal with rc.local

I would use SystemStarter for this actually since it has dependencies.

rc.local is Apple maintained and could get wiped by an update. Stuff in /L/LD or /L/SI is not.

Josh

--
Josh Wisenbaker, ACSA
http://www.afp548.com
Changing the world one server at a time.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >DNS and Mail (From: Banana Flex <email@hidden>)
 >Re: DNS and Mail (From: Dan Shoop <email@hidden>)
 >Re: DNS and Mail (From: Banana Flex <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.