LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-15-2011, 09:13 AM   #1
EschewPanache
LQ Newbie
 
Registered: Jun 2011
Posts: 7

Rep: Reputation: Disabled
rc3.d script execution


I would like to execute a script at the end of run level 3 transition. I have created the script in init.d and put a symbolic link to it named S99myscript into rc3.d with 755 as the mask. The script is not being executed. I suspect my ln -s ../myscript S99myscript is not persisting after the level change. I am not sure, however. Can anyone please tell me what I am doing wrong?
Thanks in advance!
Carl.
 
Old 06-15-2011, 11:07 AM   #2
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
You shouldn't be creating symbolic links manually, because that can cause issues, which can be resolved by using the utilities provided.

Take your pick:
- chkconfig
- yast runlevel
 
Old 06-15-2011, 02:31 PM   #3
EschewPanache
LQ Newbie
 
Registered: Jun 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thumbs up issue resolved

Thanks so much for your reply. I ended up finding something named insserv that did the trick.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] A problem by running a script under /etc/rc3.d/ thomas2004ch Solaris / OpenSolaris 3 02-22-2011 08:58 AM
script execution yakoub Linux - Software 3 11-12-2006 01:26 AM
Script that makes portage on Kanotix 2006 RC3, here maximalred Debian 14 04-03-2006 02:10 AM
Script execution salmanucit Linux - Software 1 12-08-2005 08:51 AM
script execution Johng Programming 2 08-21-2004 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration