summaryrefslogtreecommitdiffstats
path: root/openwrt/package/nfs-server/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/nfs-server/files/etc')
-rw-r--r--openwrt/package/nfs-server/files/etc/exports1
-rwxr-xr-xopenwrt/package/nfs-server/files/etc/init.d/S60nfsd4
2 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/package/nfs-server/files/etc/exports b/openwrt/package/nfs-server/files/etc/exports
new file mode 100644
index 000000000..75a387a48
--- /dev/null
+++ b/openwrt/package/nfs-server/files/etc/exports
@@ -0,0 +1 @@
+/mnt (ro,all_squash,insecure)
diff --git a/openwrt/package/nfs-server/files/etc/init.d/S60nfsd b/openwrt/package/nfs-server/files/etc/init.d/S60nfsd
new file mode 100755
index 000000000..1b1e1bd3a
--- /dev/null
+++ b/openwrt/package/nfs-server/files/etc/init.d/S60nfsd
@@ -0,0 +1,4 @@
+#!/bin/sh
+/usr/sbin/portmap
+/usr/sbin/rpc.mountd -r
+/usr/sbin/rpc.nfsd