Re: recommended way to install something into /Library/StartupItems?
Re: recommended way to install something into /Library/StartupItems?
- Subject: Re: recommended way to install something into /Library/StartupItems?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 15 Feb 2007 21:31:19 +0100
As others pointed, it's easy to do it and it works.
The only issue I know with Packages and /Library/StartupItems was on
10.2.x (as IIRC 10.2 is when the owner and group moved from root admin
to root wheel without any clear official warning).
The issue was that it was not possible to set the owner and group to
root:wheel using the package. There is probably a bug in Installer.app
regarding this. The solution was to set the permissions in the
postflight script.
So if you need to install on Mac OS X 10.1 or 10.2, test that. If you
don't, forget about this issue.
My $0.02
On jeudi, février 15, 2007, at 06:31 PM, Benjamin Lam wrote:
Hi,
What is the recommended way to install something into
/Library/StartupItems? I need to put some items in there, can I just
create the Library/StartupItems structure with the items when I create
the package or should I copy the items in during postflight?
If I just create the package with the Library/StartupItems structure
and if other software puts items in there, then my package runs, it
won’t ‘reset’ the Library/StartupItems folder will it, deleting the
other items (to match the given structure in my package) will it?
TIA.
Thank you kindly and have a great day,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden