Solved

how do i run a shell script after booting the system automatically.

Posted on 2002-05-14
4
267 Views
Last Modified: 2013-11-13
I have MAC OSX. I want to run a shell script just after booting the system( not manullay). it should start like all the other system process are starting. How can i do it?
0
Comment
Question by:rama_krishna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
MikeCappella earned 50 total points
ID: 7036498
You can add a call to your script to the file /etc/rc.local file, or use the Mac OS X specific SystemStarter mechanism, placing a script in /Library/StartupItems.  For more details, see the site below, particularly the three sections "System Initialization", "The rc.boot and rc Scripts
", and "Startup Items" :

http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/BootingLogin/The_Boot_Sequence.html
0
 
LVL 3

Expert Comment

by:ITsheresomewhere
ID: 7091309
Please update this question.  If a solution presented has solved the question, or if the question is no longer valid, then please close the question.

Actions you can take:

1)Update status, provide additional information, results of any other inputs.

2) Award points ... if you need Moderator assistance to split points, comment here with details please
or advise us in Community Support with a zero point question and this question link.
3) Ask us to delete it if it has no value to you or others
4) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may
help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,
ITsheresomewhere
EE Database Maintenance Volunteer - EE Moderator

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
0
 
LVL 3

Expert Comment

by:ITsheresomewhere
ID: 7115636
Hello rama_krishna,

It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. If there is no objection or further activity, I will suggest to:

    Accept MikeCappella's comment(s) as an answer.

rama_krishna, if you think your question was not answered at all, you can post a request in Community Support and ask them to delete this question and refund your points (please include a link to this
Question: http:Q.20300306.html in any posts to Community Support).
If you want to post to Community Support, click here:
      http://www.experts-exchange.com/jsp/qAskQuestion.jsp?ta=commspt

Please do not accept this comment as an answer!

EXPERTS: Your input for closing recommendations is appreciated.
==========
ITsheresomewhere
EE Database Cleanup Volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7128999
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question