LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   BLFS: autofs installation (https://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-autofs-installation-544800/)

echnat0n 04-10-2007 08:44 AM

BLFS: autofs installation
 
Hello,

Can someone help me with this one:

Boot Script
Install the /etc/rc.d/init.d/autofs mount script and /etc/sysconfig/autofs.conf support file included with the blfs-bootscripts-20060910 package.
Code:

make install-autofs

The time-out variable is set in /etc/sysconfig/autofs.conf. The installed file sets a default of 60 seconds of inactivity before unmounting the device. A much shorter time may be necessary to protect buffer writing to a floppy if users tend to remove the media prior to the timeout setting.


-------------

What do i have to do, to install the autofs en autofs.conf script?

weibullguy 04-10-2007 09:11 AM

Quote:

Originally Posted by echnat0n
What do i have to do, to install the autofs en autofs.conf script?

Execute
Code:

make install-autofs
What am I missing in your question?

echnat0n 04-10-2007 02:32 PM

When i do this, it gives me an that there is nothing to make.

weibullguy 04-10-2007 02:52 PM

What does line 48 of the Makefile say?

The only thing that command does is create some directories if they don't exist, but they probably do.
Code:

install -d -m 755 /etc/rc.d/rc{0,1,2,3,4,5,6,sysinit}.d
install -d -m 755 /etc/rc.d/init.d
install -d -m 755 /etc/sysconfig

Then it installs the two files and creates a link.
Code:

install -m 754 blfs/init.d/autofs    /etc/rc.d/init.d/
install -m 644 blfs/sysconfig/autofs.conf /etc/sysconfig/
ln -sf  ../init.d/autofs /etc/rc.d/rcsysinit.d/S52autofs

You could do it by hand if you want.


All times are GMT -5. The time now is 05:04 PM.