how to add a run control script..?
Answer / c. anthony francis
The following procedure describes how to add a run control
script:
1.. Create the script in the /etc/init.d directory.
#Vi /etc/init.d/<filename>
#chmod 744 /etc/init.d/<filename>
#chgrp sys /etc/init.d/<filename>
2. Create links to the appropriate /etc/init.d directory.
# cd /etc/init.d
# ln filename /etc/rc#.d/S##filename
# ln filename /etc/rc#.d/K##filename
For instance, you might link a file in /etc/init.d called
database to a file called /etc/rc3.d/S99database, with a
corresponding stop script called /etc/rc3.d/K99database.
3. Use the ls command to verify that the script has links
in the appropriate directories.
# ls -li /etc/init.d/filename
# ls -li /etc/rc#.d/S##filename
# ls -li /etc/rc#.d/K##filename
4. Test the filename by performing the following commands:
# /etc/init.d/filename start
Is This Answer Correct ? | 2 Yes | 0 No |
Compare and contrast VCS and Sun Cluster.
how to add a disk group in veritas from one system to another system?
how to share a directory with nfs server and how client mount the nfs share
what is a milestone and, how can we change the default milestone?
In remote support environment not able to ping one solaris server .What are the necessary steps you will do ?
how to use Multipathing in Solaris
What does the pkgadd command do?
What is the use of Sam utility in solaris
What is OBP and how u r going to access it?
what is the use of TCP wrappers
what r d crontab fields?
3 Answers emc2, JK Technosoft,
I AM MR SAGAR HAVING SUN SOLARIS 10, I AM NOT ABLE TO BROWSE THE INTERNET... I AM NOT HAVING NETWORK DRIVER WHICH SUPPORT SUN SOLARIS 10. I AM HAVING RTL 8111B GB LAN .BUT I AM HAVING RT8111B GB LAN DRIVERS WHICH SUPPORT XP,VISTA,UNIX,LINUX ...BUT IT NOT SUPPORTING FOR SUN SOLARIS 10 ...PLEASE GIVE A DETAILS FOR HAVING DRIVER AND HOW TO ACTIVATE THE NETWORK TO BROWSE THE INTERNET THROUGH SUN SOLARIS 10 THROUGH MOZILLA FIRE FOX ....MY E_MAIL ADDRESS IS \r\nsagar_nithin@yahoo.com