summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/autofs/finish
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-07-16 01:27:59 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-07-16 01:27:59 (GMT)
commit677bbf9bc1a7b1e638c33d2683b367d3b0fd5159 (patch)
treed0a5c2f68206846798a0c4eebbdc48dddab0373c /abs/extra-testing/autofs/finish
parent1520f89cb8cad4eb6ba5685bdd5fb14470acf992 (diff)
parent494d57bcc659282c41e99606b0496163dcd9b35d (diff)
downloadlinhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.zip
linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.tar.gz
linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.tar.bz2
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/autofs/finish')
-rwxr-xr-xabs/extra-testing/autofs/finish9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/extra-testing/autofs/finish b/abs/extra-testing/autofs/finish
new file mode 100755
index 0000000..40d2fdc
--- /dev/null
+++ b/abs/extra-testing/autofs/finish
@@ -0,0 +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