diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-01-13 22:24:05 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-01-13 22:24:05 (GMT) |
commit | 9a9e9f951475a17193dc46e0f5c822449246cd72 (patch) | |
tree | fef18b77c99ee6f1a8ac49d6239820fc279e70e6 /abs/core/runit-scripts | |
parent | 0bcae6dfc24e333236543070f5b8673d37c5abee (diff) | |
parent | 2b48e6775f2116b3a49fb81b5929cc3255f02889 (diff) | |
download | linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.zip linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.tar.gz linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/autofs/run | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index 56fbebc..83b3800 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=2.1.1 -pkgrel=17 +pkgrel=18 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core/runit-scripts/runitscripts/services/autofs/run b/abs/core/runit-scripts/runitscripts/services/autofs/run new file mode 100755 index 0000000..342ade6 --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/autofs/run @@ -0,0 +1,19 @@ +#!/bin/sh +exec 2>&1 + +. /etc/rc.conf +. /etc/rc.d/functions + +stat_runit "Starting autofs4 kernel module" && echo "" +set -e # barf if modprobe fails +/sbin/modprobe autofs4 + +stat_runit "Starting autofs automount" && echo "" +# source application-specific settings +[ -f /etc/conf.d/autofs ] && . /etc/conf.d/autofs + +if [ ! -z "$TIMEOUT" ]; then + daemonoptions="--timeout=$TIMEOUT $daemonoptions" +fi + +exec /usr/sbin/automount -f $daemonoptions |