freedomboneeee/tests/check-nfs-all-squash.sh

6 lines
138 B
Bash
Raw Permalink Normal View History

#!/bin/bash
if sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/exports | grep -i "all_squash";then
exit 1
fi