Solved

Setup a process to start at boot up

Posted on 2004-04-28
5
359 Views
Last Modified: 2013-12-27
I know its probably an easy task, but how can I make a process (flexlm license manager) to start at system bootup? I don't want to have and start it manually every time I reboot the system. system is running Solaris 8.

Thanks in advance for any help.
lehan
0
Comment
Question by:lehan
[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
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 25 total points
ID: 10945110
Just put your startup scritp in:

/etc/rc2.d or /etc/rc3.d

and named it: S99flexlm, the name of the script must be uppercase S then following by a number. Just have a look at the scripts in /etc/rc2.d or /etc/rc3.d to get some idea about
how to write a startup script.


0
 
LVL 48

Expert Comment

by:Tintin
ID: 10945232
cat /etc/init.d/README

script should exist in /etc/init.d with links to the approprate /etc/rc?.d directory/s
0
 
LVL 38

Expert Comment

by:yuzh
ID: 10945263
You don't have to put the script in /etc/init.d and then ln to /etc/rc?.d, put the script in /etc/rc?.d
should work !
0
 
LVL 48

Expert Comment

by:Tintin
ID: 10945437
True that you don't *have* to put it into /etc/init.d, but the convention is that the scripts live in /etc/init.d and are hard linked (soft links on most other Unixes) from the /etc/rc?.d

Most people do something like:

/etc/init.d/sendmail stop
/etc/init.d/sendmail start

rather than having to know what the sequence number and run level directory is.
0
 
LVL 1

Author Comment

by:lehan
ID: 11055537
Thanks guys. I did find some examples in /etc/rc?.d and its what I am looking for.
Sorry for the late reply.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

735 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