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 04-07-2006, 05:12 AM   #1
tiuz
Member
 
Registered: Mar 2006
Distribution: Slackware 14
Posts: 92

Rep: Reputation: 15
Script in /etc/rc.d to start autofs?


Hello,

Is there any "Slackware-specific" script around to put into /etc/rc.d to start autofs?

I found some sample script in /usr/share/doc/packages/autofs???/sample/

But this one doesn´t work at all.

Thanks,
tiuz
 
Old 04-07-2006, 07:06 AM   #2
Seppel
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Frugalware (everywhere), Ubuntu (notebook only), Tomato (router)
Posts: 73

Rep: Reputation: 15
http://www.linuxquestions.org/questi...postid=1149234
 
Old 04-07-2006, 07:12 AM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,712
Blog Entries: 7

Rep: Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820
Here's the one I used:

http://mariner.cs.ucdavis.edu/slackw...ware/rc.autofs

And the lines to add to /etc/rc.d/rc.local:

# Start Automounter:
if [ -x /etc/rc.d/rc.autofs ]; then
/etc/rc.d/rc.autofs start
fi

Have fun!
 
Old 04-07-2006, 02:55 PM   #4
tiuz
Member
 
Registered: Mar 2006
Distribution: Slackware 14
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks a lot, works just fine for my needs (cdrom, floppy).
 
Old 04-08-2006, 03:07 AM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,712
Blog Entries: 7

Rep: Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820Reputation: 2820
Quote:
Originally Posted by tiuz
Thanks a lot, works just fine for my needs (cdrom, floppy).
It works very well with USB sticks and card readers too!
 
Old 04-08-2006, 10:23 AM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
For future reference, the 'common' script to put extra stuff in is rc.local
 
  


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
Start up script mashed Linux - Hardware 2 04-06-2006 09:25 AM
Start up script... podollb Linux - Software 3 10-19-2004 05:38 PM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 12:00 PM
Wireless Start Up Script scoobs Linux - Wireless Networking 1 09-04-2004 01:39 AM
How to run autofs at start up chasn Slackware 2 04-18-2004 06:18 PM

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

All times are GMT -5. The time now is 03:12 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