summaryrefslogtreecommitdiff
path: root/scripts/desktop/export-nfs
blob: deb3beb44a4de28d521c8c17a95a465aa6eeae09 (plain)
1
2
3
4
5
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