freedombone/tests/check-nfs-insecure.sh

6 lines
75 B
Bash

#!/bin/bash
if grep 'insecure_locks' /etc/exports; then
exit 1
fi