Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-07-2006, 05:12 AM
|
#1
|
Member
Registered: Mar 2006
Distribution: Slackware 14
Posts: 92
Rep:
|
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
|
|
|
04-07-2006, 07:06 AM
|
#2
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Frugalware (everywhere), Ubuntu (notebook only), Tomato (router)
Posts: 73
Rep:
|
|
|
|
04-07-2006, 07:12 AM
|
#3
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,712
|
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!
|
|
|
04-07-2006, 02:55 PM
|
#4
|
Member
Registered: Mar 2006
Distribution: Slackware 14
Posts: 92
Original Poster
Rep:
|
Thanks a lot, works just fine for my needs (cdrom, floppy).
|
|
|
04-08-2006, 03:07 AM
|
#5
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,712
|
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!
|
|
|
04-08-2006, 10:23 AM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
For future reference, the 'common' script to put extra stuff in is rc.local
|
|
|
All times are GMT -5. The time now is 03:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|