summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/mogilefs-server/files/mogautomount-init.d-2.50')
-rw-r--r--dev-perl/mogilefs-server/files/mogautomount-init.d-2.5022
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50 b/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50
new file mode 100644
index 000000000000..3275ed50eedf
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# $Id$
+
+NAME="mogautomount"
+BINARY="/usr/bin/mogautomount"
+
+depend() {
+ use net
+ before mogstored
+}
+
+start() {
+ ebegin "Mounting MogileFS disks"
+ ${BINARY} --chmod-mountpoints
+ eend $?
+}
+
+stop() {
+ :
+}
+
+# vim: ft=gentoo-init-d: