summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/autofs/finish
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/finish
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/finish')
-rwxr-xr-xabs/extra-testing/autofs/finish5
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/extra-testing/autofs/finish b/abs/extra-testing/autofs/finish
new file mode 100755
index 0000000..db1dee6
--- /dev/null
+++ b/abs/extra-testing/autofs/finish
@@ -0,0 +1,5 @@
+#!/bin/sh
+exec 2>&1
+
+set -e # barf if modprobe fails
+/sbin/modprobe -r autofs4