LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2013, 02:44 PM   #1
luizlmarins
LQ Newbie
 
Registered: Nov 2012
Location: São Paulo
Distribution: Debian
Posts: 10
Blog Entries: 1

Rep: Reputation: Disabled
Smile RC.LOCAL File


Greetings,

What is the clarification for rc.local file in Slackware have no the line "exit 0", at

end, like debian? Only curiosity, Please.


(this is my first post)
 
Old 12-17-2013, 03:02 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
rc.local is called from rc.M using the "dot" command:
Code:
# Start the local setup procedure.
if [ -x /etc/rc.d/rc.local ]; then
  . /etc/rc.d/rc.local
fi
This causes rc.local to be executed inside the current shell; basically, the contents of rc.local are imported into rc.M. An "exit" command at the end of rc.local would therefore have caused the calling script (rc.M) to terminate.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
open local file error when creating file descriptor hellgirl Linux - Newbie 1 09-14-2009 11:03 PM
re-execute rc.local file only shoaibahmedkhan Linux - Newbie 1 12-30-2008 02:17 AM
source code file 'Not a local file' error with anjuta 2.4.2 PrathuD Linux - Newbie 2 10-24-2008 11:36 AM
Main use of rc.local file winxandlinx Linux - Newbie 1 11-18-2006 04:54 AM
local rc file? Rnastyracer Linux - Software 2 04-01-2004 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:11 PM.

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