summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/autofs/run
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-07-08 16:56:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-07-08 16:56:34 (GMT)
commit857cd6061fd90c5a282ac466eea68e629b126650 (patch)
tree862606835a7c7031dfcda2405ffdacb9a2983cc4 /abs/extra-testing/autofs/run
parent6d858ed1e73247459a32ca4360e3aa47e63a04a5 (diff)
downloadlinhes_pkgbuild-857cd6061fd90c5a282ac466eea68e629b126650.zip
linhes_pkgbuild-857cd6061fd90c5a282ac466eea68e629b126650.tar.gz
linhes_pkgbuild-857cd6061fd90c5a282ac466eea68e629b126650.tar.bz2
autofs: add finish file to unload autofs4 kernel module and add stat msgs to run file
Diffstat (limited to 'abs/extra-testing/autofs/run')
-rwxr-xr-xabs/extra-testing/autofs/run8
1 files changed, 7 insertions, 1 deletions
diff --git a/abs/extra-testing/autofs/run b/abs/extra-testing/autofs/run
index 7d146fc..e394e5f 100755
--- a/abs/extra-testing/autofs/run
+++ b/abs/extra-testing/autofs/run
@@ -1,8 +1,14 @@
#!/bin/sh
exec 2>&1
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+stat_runit "Starting autofs4 kernel module"
set -e # barf if modprobe fails
/sbin/modprobe autofs4
-#exec /etc/rc.d/autofs start
+
+stat_runit "Starting autofs automount"
# source application-specific settings
[ -f /etc/conf.d/autofs ] && . /etc/conf.d/autofs