summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/autofs/finish
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-07-08 18:56:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-07-08 18:56:26 (GMT)
commite8745421f0b408d0f352bbba08a2717da515f4cd (patch)
treef7706ac8f5d42efecbcfca911207fc87c8f3c58f /abs/extra-testing/autofs/finish
parent857cd6061fd90c5a282ac466eea68e629b126650 (diff)
downloadlinhes_pkgbuild-e8745421f0b408d0f352bbba08a2717da515f4cd.zip
linhes_pkgbuild-e8745421f0b408d0f352bbba08a2717da515f4cd.tar.gz
linhes_pkgbuild-e8745421f0b408d0f352bbba08a2717da515f4cd.tar.bz2
autofs: add status log to finish file
Diffstat (limited to 'abs/extra-testing/autofs/finish')
-rwxr-xr-xabs/extra-testing/autofs/finish4
1 files changed, 4 insertions, 0 deletions
diff --git a/abs/extra-testing/autofs/finish b/abs/extra-testing/autofs/finish
index db1dee6..40d2fdc 100755
--- a/abs/extra-testing/autofs/finish
+++ b/abs/extra-testing/autofs/finish
@@ -1,5 +1,9 @@
#!/bin/sh
exec 2>&1
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+stat_runit "Stopping autofs4 kernel module" && echo ""
set -e # barf if modprobe fails
/sbin/modprobe -r autofs4