Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-08-2004, 05:00 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Bristol UK
Distribution: slackware 10
Posts: 11

Rep: Reputation: 0
slackware rc.local probs

I'm sure that this is going to be an easy one for the people in the know but its getting late at night where I am, so I'm going to admit defeat.

I need to start my firewall with the script rc.firewall and then get my adsl modem to run ( speedtouch rev 4 by the way, with painless installation!) I can get rc.local to run the first script but I think it the just finishes rather than going on to the next, Does anyone know where I'm going wrong?

heres the script

#/etc/rc.d/rc.local: Local system initialization script.
# Put any local setup commands in here:
if [ -x /etc/rc.d/kmyfirewall ] ; then
. /etc/rc.d/kmyfirewall
if [ -x /etc/rc.d/rc.modem ] ; then
. /etc/rc.d/rc.modem

Thanks for any help

Old 09-08-2004, 05:16 PM   #2
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
It should be working as long as /etc/rc.d/kmyfirewall and /etc/rc.d/rc.modem have execution permissions.

Last edited by serz; 09-08-2004 at 05:17 PM.
Old 09-08-2004, 05:21 PM   #3
LQ Newbie
Registered: Jul 2004
Location: Bristol UK
Distribution: slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
both scripts on there own work absolutely fine. Just when booting up it will run the firewall script but then doesn't go on to run the modem flashing script but goes straight to login.
Old 09-08-2004, 06:27 PM   #4
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 418Reputation: 418Reputation: 418Reputation: 418Reputation: 418
. /etc/rc.d/kmyfirewall
I think that you're confusing it with the leading .

The . means "this directory" so rather than looking in /etc/rc.d, the program is looking in /etc/rc.d/etc/rc.d, which almost certainly doesn't exist.


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
Kylix 1 Libc probs on Slackware 10.2 thiagoeliasr Slackware 2 12-02-2005 09:38 AM
slackware 10-current (any probs?) carboncopy Slackware 14 12-10-2004 08:08 AM
slackware 7.1/Windows XP dualboot probs Ax3 Linux - General 4 04-12-2004 02:42 PM
Slackware XFree86 probs. isuckwithlinux Linux - Software 4 11-07-2003 06:22 PM
NVidia driver Probs with Slackware 9.1 chewysplace Slackware 7 11-01-2003 12:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 AM.

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