The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10 - boot CD not loading spider123 SUN Solaris 10 02-24-2006 02:17 AM
solaris dual boot nocture SUN Solaris 0 10-07-2005 08:33 AM
solaris boot problem boot error loading interpreter(misc/krtld) johncy_j SUN Solaris 0 08-17-2005 08:15 AM
Solaris (9) won't boot! alarmcall SUN Solaris 3 09-21-2003 10:41 AM
dual boot solaris off of 2nd HDD dangral UNIX for Dummies Questions & Answers 3 11-21-2002 10:45 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-02-2006
fishman2001 fishman2001 is offline
Registered User
  
 

Join Date: Apr 2002
Location: New Jersey
Posts: 31
boot up script in solaris 10

Hi I'd like to add a start up script to run at boot time.I think that pre solaris 10 you'd add it to /etc/init.d. But I'm using Solaris 10 now and it has this SMF config thing which I'm not sure whether I have to add a service to it or not.

Does anyone know how add a script at boot time on solaris 10?


Cheers.
  #2 (permalink)  
Old 08-02-2006
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
Solaris 10 lets you run what it calls "legacy services" as they run in Solaris 9 and lower.
The usual setup is to create the run crontrol script in /etc/init.d and then link it to any of the /etc/rcX.d directories - usually rc3.d for scripts other than system scripts - depending when you want you script to start or stop The run control script should have options for stop and start, and you should create 2 links, one starting with S, one starting with K, so the OS knows what to start when it's booting up, and what to stop when it's going down.
  #3 (permalink)  
Old 01-02-2007
duke0001 duke0001 is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 131
System Shock:

I search to find your post in last year. I want to run "legacy services" on Solaris 10. I created a auto startup and shutdown script in /etc/init.d, then I created 2 links to /etc/rc0.d and /etc/rc3.d. My system run level is 3. It didn't work. I may need to modify more on the settings. Could you please give detailed information on how to set up 'S' and 'K'? Thanks.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0