diff -Naur blfs-bootscripts-20120305.orig/blfs/init.d/autofs blfs-bootscripts-20120305/blfs/init.d/autofs
--- blfs-bootscripts-20120305.orig/blfs/init.d/autofs	2008-03-06 14:28:11.000000000 -0800
+++ blfs-bootscripts-20120305/blfs/init.d/autofs	2012-03-19 13:49:32.866678821 -0700
@@ -1,23 +1,17 @@
 #!/bin/bash
+########################################################################
+# Begin /etc/init.d/autofs
 #
-# Autofs Boot Script
+# Description : Autofs Boot Script
 #
-# Filename:     /etc/rc.d/init.d/autofs
+# Author      : Bryan Mason <bmason@bmason.com>
+#             : Nathan Coulson <nathan@linuxfromscratch.org>
 #
-# Author:       Bryan Mason <bmason@bmason.com>
+# Version     : LFS 7.1
 #
-# Edit History:
-#
-# Date         Author        Action
-# ----------------------------------------------------------------------
-# 20 Jan 2004  B. Mason      Created by modifying original autofs 
-#                            script created by Peter Anvin
-# 20 Mar 2004  B. Mason      Modified to create mountpoints if they
-#                            don't already exist.
+########################################################################
 
-source /etc/sysconfig/rc
-source $rc_functions
-source /etc/sysconfig/autofs.conf
+. /lib/lsb/init-functions
 
 #
 # This function will build a list of automount commands to execute in
@@ -75,9 +69,9 @@
     )
 
     echo "Active Automount Daemons:"
-    if [ $(COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] $automount " | wc -w) -gt 0 ]
+    if [ $(COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] /sbin/automount " | wc -w) -gt 0 ]
     then
-      COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] $automount " | 
+      COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] /sbin/automount " | 
       (
         while read pid tt stat time command; do echo "  $command" ; done
       )
@@ -107,37 +101,33 @@
     (
       while read dir type map options
       do 
-        boot_mesg -n "Automounting $dir..."
+        log_info_msg "Automounting $dir..."
         pidfile=$(echo $dir | sed -e "y/\//-/" | sed -e "s/^-//")
-        pidpath=${piddir}/${pidroot}.${pidfile}.pid
 
         if [ ! -d "$dir" ]
         then
-          boot_mesg -n " Creating mountpoint $dir..."
+          log_info_msg " Creating mountpoint $dir..."
           mkdir -p "$dir"
         fi
 
         if [ ! -e "$map" ]
         then
-          boot_mesg "Map file $map does not exist!" ${FAILURE}
-          echo_failure
+          log_failure_msg "Map file $map does not exist!" ${FAILURE}
           continue
         fi
 
         if [ ! -x "$map" -a "$type" = "program" ]
         then
-          boot_mesg "Map file $map is not executable!" ${FAILURE}
-          echo_failure
+          log_failure_msg "Map file $map is not executaible!" ${FAILURE}
           continue
         fi
 
-        if [ -e "$pidpath" ]
+        if [ -e "/run/autofs.${pidfile}.pid" ]
         then
-          boot_mesg " already running!" ${WARNING}
-          echo_warning
+          log_warning_msg " already running!" ${WARNING}
         else
           echo " "
-          $automount -p $pidpath $daemonoptions $dir $type $map $options $localoptions
+          /sbin/automount -p /run/autofs.${pidfile}.pid --timeout 60 $dir $type $map $options
           evaluate_retval
         fi
       done 
@@ -146,14 +136,14 @@
 
   stop)
     # Kill all automounters listed in /var/run
-    ls ${piddir}/${pidroot}.*.pid 2>/dev/null |
+    ls /run/autofs.*.pid 2>/dev/null |
     (
       while read pidpath
       do
         pid=$(cat $pidpath)
         pidfile=$(basename $pidpath)
         mountpoint=$(echo $pidfile | sed -e "s/^autofs\.\(.*\)\.pid$/\1/" | sed -e "y/-/\//")
-        boot_mesg "Stopping automount on /$mountpoint..."
+        log_info_msg "Stopping automount on /$mountpoint..."
         kill $pid
         evaluate_retval
       done
@@ -161,11 +151,11 @@
 
     # Now kill any rogue automounters (automount process w/o pid files)
     sleep 1
-    COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] $automount " |
+    COLUMNS=1024 ps ax | grep "[0-9]:[0-9][0-9] /sbin/automount " |
     (
       while read pid everything_else
       do
-        boot_mesg "Stopping automount with pid $pid..."
+        log_info_msg "Stopping automount with pid $pid..."
         kill $pid
         evaluate_retval
       done
diff -Naur blfs-bootscripts-20120305.orig/blfs/sysconfig/autofs.conf blfs-bootscripts-20120305/blfs/sysconfig/autofs.conf
--- blfs-bootscripts-20120305.orig/blfs/sysconfig/autofs.conf	2011-12-05 18:37:16.000000000 -0800
+++ blfs-bootscripts-20120305/blfs/sysconfig/autofs.conf	1969-12-31 16:00:00.000000000 -0800
@@ -1,23 +0,0 @@
-#!/bin/bash
-#
-# Autofs configuration file
-#
-# Filename: /etc/sysconfig/autofs.conf
-#
-# Author:   Bryan Mason
-#
-# Edit History:
-#
-# Date         Author      Action
-# ----------------------------------------------------------------------
-# 19 Jan 2004  B. Mason    Created
-# 18 Oct 2004  L. Lawrence Assume /usr is not mounted, add timeout
-
-automount=/sbin/automount
-localoptions=''
-daemonoptions='--timeout 60'
-piddir=/var/run
-pidroot=autofs
-
-# END
-
diff -Naur blfs-bootscripts-20120305.orig/Makefile blfs-bootscripts-20120305/Makefile
--- blfs-bootscripts-20120305.orig/Makefile	2012-03-05 11:50:17.000000000 -0800
+++ blfs-bootscripts-20120305/Makefile	2012-03-19 13:52:05.836679089 -0700
@@ -53,7 +53,6 @@
 
 install-autofs: create-dirs
 	install -m $(MODE) blfs/init.d/autofs    $(EXTDIR)/rc.d/init.d/
-	install -m $(CONFMODE) blfs/sysconfig/autofs.conf $(EXTDIR)/sysconfig/
 	ln -sf  ../init.d/autofs $(EXTDIR)/rc.d/rcS.d/S52autofs
 
 install-avahi: create-dirs
