summaryrefslogtreecommitdiffstats
path: root/abs/extra/autofs/run
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-09 23:51:38 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-09 23:51:38 (GMT)
commit99e067cd4dec53e41e16157a096c4ac0e16b588d (patch)
treed66d376bcde7f4121addfdbe8e0903db8781d2b6 /abs/extra/autofs/run
parentfb743c43e525bad5df4e528b7e8b36dd8899dac9 (diff)
downloadlinhes_pkgbuild-99e067cd4dec53e41e16157a096c4ac0e16b588d.zip
linhes_pkgbuild-99e067cd4dec53e41e16157a096c4ac0e16b588d.tar.gz
linhes_pkgbuild-99e067cd4dec53e41e16157a096c4ac0e16b588d.tar.bz2
autofs:Moved run to runit-scripts.
Diffstat (limited to 'abs/extra/autofs/run')
-rwxr-xr-xabs/extra/autofs/run19
1 files changed, 0 insertions, 19 deletions
diff --git a/abs/extra/autofs/run b/abs/extra/autofs/run
deleted file mode 100755
index 342ade6..0000000
--- a/abs/extra/autofs/run
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/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