Skip to content
Snippets Groups Projects
Commit 8a844d30 authored by Bob Mottram's avatar Bob Mottram
Browse files

insecure locks test

parent a3e4aaa5
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if ! sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/exports | grep insecure_locks;then
if grep 'insecure_locks' /etc/exports; then
exit 1
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment