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


Click here to return to the 'Add a 'status' switch to startup items' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add a 'status' switch to startup items
Authored by: LC on Mar 17, '04 02:26:04PM

Is rc.common liable to be replaced during a subsequent OS update?



[ Reply to This | # ]
rc.common being replaced in system upgrades
Authored by: MordEth on Mar 18, '04 12:53:56AM

yes, i think so...i back mine up, because OS X has a history of overwriting /etc/rc.common...10.3.3 did.



[ Reply to This | # ]
Add a 'status' switch to startup items
Authored by: hekal on Mar 30, '04 06:54:54PM

Hmmm I rebooted and rc.common has the "status" flag missing from the case statement. I re-added it and rebooted to see if the reboot modifies it. I hope that isn't the case! :/



[ Reply to This | # ]
Add a 'status' switch to startup items
Authored by: hekal on Mar 30, '04 07:06:25PM

Yep. This is a Software Update quirk. I have a script I wrote ~ 2 years ago that does the following:

Creates a /backuproot/YYYY/Month/MM-DD-YYYY directory if it does not exist
Copies any pertinent files to this directory (some files in /etc, crontabs, ~/Library/Mail, etc)
Tar and gzips the MM-DD-YYYY directory
Deletes the MM-DD-YYYY directory after it's been gzip'd

rc.common is in there. I can just restore it from there if need be.



[ Reply to This | # ]