summary refs log tree commit diff
path: root/services/nfs-server
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-10-13 18:15:55 +0200
committerJuan RP <xtraeme@gmail.com>2014-10-13 18:15:55 +0200
commit6148db4462ee5ad830f6a13d593ad56c541370f8 (patch)
tree9b1fcbe56a149824620f145802e1680c3d61c6eb /services/nfs-server
parentc807548118d1753682d12ad844070b1d90e60563 (diff)
downloadrunit-void-6148db4462ee5ad830f6a13d593ad56c541370f8.tar.gz
runit-void-6148db4462ee5ad830f6a13d593ad56c541370f8.tar.xz
runit-void-6148db4462ee5ad830f6a13d593ad56c541370f8.zip
Removed all services that have been moved to void-packages.
Diffstat (limited to 'services/nfs-server')
-rwxr-xr-xservices/nfs-server/finish6
-rwxr-xr-xservices/nfs-server/run28
2 files changed, 0 insertions, 34 deletions
diff --git a/services/nfs-server/finish b/services/nfs-server/finish
deleted file mode 100755
index 696e778..0000000
--- a/services/nfs-server/finish
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-umount -l /proc/fs/nfsd
-umount -l /var/lib/nfs/rpc_pipefs
-/usr/sbin/rpc.nfsd -- 0
-/usr/sbin/exportfs -a -u
diff --git a/services/nfs-server/run b/services/nfs-server/run
deleted file mode 100755
index ae438d7..0000000
--- a/services/nfs-server/run
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# Make sure the statd service is running.
-sv check statd >/dev/null || exit 1
-
-# Get the nfs service parameters from the LFS standard file
-# this sets some envars.
-if [ -e /etc/conf.d/nfs-server.conf ]; then
-	. /etc/conf.d/nfs-server.conf
-fi
-
-modprobe sunrpc || exit 1
-modprobe nfs || exit 1
-modprobe nfsd || exit 1
-if ! mountpoint -q /var/lib/nfs/rpc_pipefs; then
-	mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs -o defaults || exit 1
-fi
-
-# Uncomment this and add the two daemons if you need kerberos support.
-# sv check idmapd gssd >/dev/null || exit 1
-
-if ! mountpoint -q /proc/fs/nfsd; then
-	mount -t nfsd nfsd /proc/fs/nfsd || exit 1
-fi
-exportfs -ra > /dev/null || exit 1
-rpc.nfsd -- $PROCESSES || exit 1
-
-exec rpc.mountd --foreground