diff options
Diffstat (limited to 'scripts/desktop/export-nfs')
| -rwxr-xr-x | scripts/desktop/export-nfs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/desktop/export-nfs b/scripts/desktop/export-nfs new file mode 100755 index 0000000..deb3beb --- /dev/null +++ b/scripts/desktop/export-nfs @@ -0,0 +1,6 @@ +#! /usr/bin/env sh +if [ "$(id -u)" -ne 0 ]; then + echo 'This script must be run by root.' >&2 + exit 1 +fi +exportfs -o rw,async,insecure,no_subtree_check,crossmnt -i 192.168.0.0/16:$1 |